HP-UX System Administrator's Guide: Configuration Management

5. You can modify the following data by typing in new values or making different
selections. See Adding a User with Text-Based HP SMH” (page 50) for details
on the fields and selections.
Login Name
User ID
Allow Duplicate User ID
Primary Group
Home Directory
Create Home Directory
Login Shell
Comments
Account Options
Password Options
6. (Optional) Select Preview to see the commands that will modify the account. Press
OK to continue.
7. Select Modify to change the user or Cancel to quit the process.
8. HP SMH does the following:
Makes appropriate changes in the entry for the user in /etc/passwd.
Creates the new home directory for the user, if the Home Directory name is
altered.
Copies the contents of the old home directory to the new home directory, if
the Home Directory name is altered and Create Home Directory is set to
Yes.
The old home directory and its files remain unchanged.
Sets the user and group ownership of the home directory and the copied files
to the login name and primary group, as necessary.
Changes the user ID of all the user's files throughout the system, if the User
ID is changed.
9. When the process completes, you are returned to the Local User or NIS User
listing.
Deleting a User with Text-Based HP SMH
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 n to select NIS Users.
4. Highlight the login name you want to delete and press r.
HP SMH displays a screen that asks what to do with the users files and directories.
Select one of the following choices:
58 Configuring Users and Groups