HP-UX System Administrator's Guide: Configuration Management
(passwd field 6)
9. Create Home Directory
If you want HP SMH to create the home directory, set Create Home Directory
to Yes. If not, set it to No.
10. Start-Up Program Options
Choose a login shell.
If you check Select Start-Up Program, the Start-Up Program field offers a list
of shells to choose from. By default, if the file /etc/shells does not exist, HP
SMH sets the list of shells to:
/sbin/sh POSIX shell (see sh-posix(1))
/usr/bin/sh POSIX shell (see sh-posix(1))
/usr/bin/rsh restricted POSIX shell (see sh-posix(1))
/usr/bin/ksh Korn shell (see ksh(1))
/usr/bin/rksh restricted Korn shell (see ksh(1))
/usr/bin/csh C shell (see csh(1))
/usr/bin/keysh Key shell (see keysh(1))
if /etc/shells exists, (see shells(4)), only the actual executable file names from
that file, plus /sbin/sh, are listed. (/sbin/sh must be used by root.)
If you check Specify Start-Up Program, the Start-Up Program field lets you enter
the name of an executable program that will be used as the shell.
(passwd field 7)
11. Comments
Enter comma-separated information in the field.
This information is placed in what has long been known as the gecos
1
or
pw_gecos field of the entry in the /etc/passwd file. The four subfield names
(Real Name, Location, Phone, Home Phone) are used by the finger and passwd
commands. The Real Name subfield is often used for identification by other system
programs, such as lp. The subfields can contain any data you think is pertinent.
Due to security issues, Home Phone is rarely used as such any more.
(passwd field 5)
12. Account Aging Options
If in Shadow Password mode (see “Setting Shadow Password Mode” (page 43)),
select one of the options. The choices are:
No Restrictions (Normal Behavior) The account has no restrictions.
(shadow fields 7 and 8)
1. gecos stands for General Electric Comprehensive Operating Supervisor, used on early UNIX systems
at Bell Laboratories.
Configuring Users and Groups with HP SMH 51