Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ modifyUserAccount(1M) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sysmgr(1M)

runpriv(1M)

UserManager(1M)

addUserAccount(1M)

deleteUserAccount(1M)

passwd(4)



MODIFYUSERACCOUNT(1M)                                    MODIFYUSERACCOUNT(1M)



NAME
     modifyUserAccount - modify an existing user account

SYNOPSIS
     /usr/sysadm/privbin/modifyUserAccount -l login-name [-P | -N | -R] [-F
     <new-full-name>] [-S <new-shell-program>] [-G <new-group-name | new-
     group-ID>] [-H <new-home-dir> [-C] [-M] [-D] ] [-U <new-user-ID>]

DESCRIPTION
     Modify an existing user account and do associated handling of user files
     if needed.

     The modifyUserAccount command has the following required parameter:

     -l login-name
          The login name of the user account to modify

     The modifyUserAccount command has the following optional parameters:

     -P   Indicates that the account password is to be replaced with a new
          password. The command will prompt the user for the new password.
          This option may not be used in conjunction with -N or with -R.

     -N   Indicates that the account password should be set to NULL.  The
          system will still display the password prompt when a password is
          required, but no password needs to be entered.  This option may not
          be used in conjunction with -P or -R.

     -R   Indicates that the account password should be deleted.  The system
          will not prompt for a password for this account.  This option may
          not be used in conjunction with -P or -N.

     -F new-full-name
          Indicates that the full name associated with the account is to be
          replaced with the new full name.

     -S new-shell-program
          Indicates that the shell program associated with this account is to
          be replaced with the new shell program.

     -G new-group-name or new-group-ID
          Indicates that the account should be associated with a new Primary
          group.  All files owned by this user and by the old group will be
          reassigned to the new group.  The primary group of network access
          accounts can not be changed with this command.

     -H new-home-dir
          Indicates that the home directory associated with this account is to
          be replaced with the new home directory.  To create the new home
          directory, you must also specify the -C option.  To copy the files
          in the old home directory to the new home directory, specify the -M
          option.  To delete the old home directory, specify the -D option.



                                                                        Page 1





MODIFYUSERACCOUNT(1M)                                    MODIFYUSERACCOUNT(1M)



     -U new-user-ID
          Indicates that the user ID associated with this account should be
          changed to the new user ID.  All files currently owned by this
          account will be reassigned to the new user ID.  The user ID of
          network access accounts cannot be changed with this command.

FILES
     /etc/passwd
          File which contains list of user accounts

SEE ALSO
     sysmgr(1M), runpriv(1M), UserManager(1M), addUserAccount(1M),
     deleteUserAccount(1M), passwd(4)










































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026