HP-UX System Administrator's Guide: Configuration Management

These templates are available to both web-based and text-based HP SMH. They can be
made with either version. The following instructions described the text-based process.
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 t to select Templates.
4. Press a to select Add User Template.
5. At Template Name, enter a name for the template of up to 16 characters. This is
displayed on the template menu and when you add a user.
6. At Template Description, enter a description of the template of up to 50 characters.
This is displayed on the template menu and when you add a user.
7. At UID Generation Method, select the user ID selection method. If you choose
First Available, the first available number after 100 is automatically assigned. If
you choose Prompt for it, the field for the number and the Allow Duplicates
question will be displayed when you add a user.
8. At Primary Group Name, enter a primary group name. The default is users.
If you tab to and select the Change Primary Group button, the Select Primary
Group screen is displayed with a list of the current group names. Highlight the
one you want and press s (Select and Go Back) You return to the Add Template
screen with the group value filled in.
The name you choose, whether typed in or selected must exist as a group name
when the template is used to add a user. Otherwise, the add will fail.
9. At Home Directory, enter a full path name for the parent of the home directory.
The user's home directory will be thisvalue/loginname. The default is /home.
10. At Create Home Directory, select Yes or No to create the home directory.
11. At Start-Up Program Options, choose one of Select Start-Up Program or Specify
Start-Up Program.
If you choose Select Start-Up Program, choose a login shell from the drop-down
list.
If you choose Specify Start-Up Program, enter the login shell in the space
provided.
12. At Comment Settings, choose a comment setting. If you choose None, the
comment field will be empty in the /etc/passwd entry. If you choose Prompt
For It, the field will be prompted when you add a user.
13. At Account Status, choose whether the account will initially be enabled or
disabled.
14. At Account Password, choose whether the account password will initially be
null or will be prompted for when you add a user.
56 Configuring Users and Groups