HP-UX System Administrator's Guide: Configuration Management
Adding a User with Text-Based HP SMH
Use this procedure to add a new user.
If you are adding a number of users with the same basic characteristics, consider using
a template. See “Making User Templates with Text-Based HP SMH” (page 55) and
“Using a Template to Add a User with Text-Based HP SMH” (page 55).
1. Start HP SMH, as described in “Starting Text-Based HP SMH” (page 30).
2. Press u to select Accounts for Users and Groups.
3. Press l to select Local Users or press n to select NIS Users.
4. Press a to select Add User and fill in the form.
5. Login Name
Enter the user’s login name. This must start with a letter. The maximum length
can be eight or 255 characters, depending on whether long user names are set. See
“Setting Long User and Group Names” (page 43).
(passwd field 1; shadow field 1)
6. User ID
Select a numeric user ID.
If you mark Next Available ID, HP SMH will select the next available user
ID after 100 (not the next ID after the current highest ID).
If you mark Specify ID,
a. A space is displayed for you to type in the number.
b. Normally, IDs are expected to be unique (the value for Allow Duplicate
User ID is No).
If you want a duplicate user ID, change the value for Allow Duplicate
User ID to Yes.
(passwd field 3)
7. Primary Group
Select the user’s primary group. This defaults to users, which is customary for
the normal users on a system. You can choose another defined group by typing
its name in the space or by selecting Change Primary Group, which displays a
list of the defined groups to choose from.
To create a group, see “Adding a Group with Text-Based HP SMH” (page 59).
(passwd field 4)
8. Home Directory
Select the user’s home directory. Normally, this is /home/loginname, which is
selected by the keyword default. To change it, enter the full path name of the
chosen directory.
50 Configuring Users and Groups