To add new users to the SP system with the SMIT interface:
Only the User name is required. You can accept the defaults
or leave the other fields blank. The defaults for primary group,
secondary groups, and the initial program are in
/usr/lpp/ssp/bin/spmkuser.default. The default for the
home directory is stored in the System Data Repository. The following
table shows how the fields in this window relate to the parameters in the
spmkuser command.
SMIT Field | Command Parameter | Description |
---|---|---|
User name | Name | User login name |
User ID | id | ID of the user |
LOGIN user? | login | Indicates whether the user can login to the system with the login command. This option does not change the /etc/security/user file but instead alters the user's password field in /etc/security/passwd. |
Primary GROUP | pgrp | Principle group of the user |
Secondary GROUPS | groups | The groups to which the user belongs |
HOME Directory | home | Host name of the file server where the home directory resides and the full path name of the directory separated by a colon |
Initial PROGRAM | shell | Shell program run when the user logs in |
User Information | gecos | General information about the user |
When you add a new user, the system generates a random password for the user and stores it in /usr/lpp/ssp/config/admin/newpass.log. The root user has read and write permission to this file. It is the administrator's responsibility to communicate this password to the new user and periodically delete the contents of this file.
The following example shows how to enter the information for a user named joe using SMIT:
Figure 7. Example of adding an SP user
View figure.
To store the same information using the spmkuser command, enter:
| spmkuser id=202 pgrp=staff home=lyman:/home/lyman/joe shell=/bin/ksh joe