addUserAccount(1M)

addUserAccount - add a user account to the system

Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.7.

NAME
     addUserAccount - add a user account to the system

SYNOPSIS
     /usr/sysadm/privbin/addUserAccount [-y] -l login-name [-u user-ID -g
     group-ID] [-P] [-E] [-G gecos-info] [-A aging-info] [[-C] -H home-
     directory] [-S shell] [-R | -N alternate-config-file]

DESCRIPTION
     addUserAccount adds a local user account or an NIS access account to the
     system.

     The addUserAccount command has the following required parameter:

     -l login-name
          The login name of the new user

     The addUserAccount command has the following optional parameters:

     -y   Requests creation of an NIS access account

     -u user-ID
          The unique user-ID of the new user (local accounts only)

     -g group-ID
          The primary group-ID of the new user (local accounts only)

     -P   Indicates that a password is to be added to the account.  The
          command will prompt the user for the password.

     -E   Indicates that a password is to be added to the account.  The
          command will prompt the user for the password.  The difference
          between -E and -P is that for -E the password specified is assumed
          to be pre-encrypted and will be saved as is in the passwd file.  For
          the -P option, the password specified is treated as plain text and
          will be encrypted before being saved in the passwd file.

     -G gecos-field
          The gecos field of the new user

     -A aging-info
          The formatted password aging information for the new user

     -C   Create the new user's home directory (as specified by the -H option)

     -H home-directory
          The home directory for the new user

     -S shell
          The shell program (e.g. /bin/csh) for the new user
     -R   Run the default new user configuration process as defined in
          /var/sysadm/config/newaccount.config

     -N config-file
          Run an alternate new user configuration process as defined in
          config-file

FILES
     /etc/passwd
     /var/sysadm/config/newaccount.config
          New user setup config file
     /var/sysadm/config/newaccount.script
          New user setup script
     /var/sysadm/config/default.cshrc
          Default .cshrc for new users
     /var/sysadm/config/default.login
          Default .login for new users
     /var/sysadm/config/default.profile
          Default .profile for new users

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