HP-UX System Administrator's Guide: Configuration Management
Number of Days to Warn Before Password Expires (0-434 Days): 0__
Displayed only in Shadow Password mode
(see “Setting Shadow Password Mode”
(page 43)). Enter a value in the range and
less than or equal to the Max Time value.
When this warn limit is reached, a message
is displayed every time the user logs in; for
example:
Your password will expire in 77
days.
(shadow field 6)
Force Password Changes on Next Login: (X) No
( ) Yes
If set to Yes, the user must change the
password at the next login and thereafter
can change the password according to the
Max and Min limits above.
(passwd field 2; shadow field 3)
14. (Optional) Select Preview to see the commands that will create the account. Press
OK to continue.
15. Select Add to create the account or Cancel to quit the process.
16. If the account is enabled, the password dialog is displayed.
Changing password for loginname
New password: password
Re-enter new password: password
Enter a password at the prompts. While the password can be set to null, this is a
security breach. It is better to set a password and have the user change it when the
user logs in for the first time, for example, by selecting Force Password Change
at Next Login.
(passwd field 2; shadow field 2)
17. HP SMH does the following:
• Creates an entry for the user in the /etc/passwd file (and in the /etc/
shadow file, if Shadow Passwords are enabled).
• Creates the home directory for the user (if requested).
• Copies all the files (and their permissions) from the “skeleton” directory (if it
exists) to the new home directory (if it exists). See “Skeleton Directory”
(page 54).
• Sets the user and group permissions of the home directory and the copied
files to the login name and primary group.
Configuring Users and Groups with HP SMH 53