HP-UX System Administrator's Guide: Configuration Management
IMPORTANT: Points of interest:
• The root entry must be the first line of the /etc/passwd file.
• The user ID in field 3 is 0.
• Conventionally, the group ID in field 4 is 3 for group sys.
• The system entry in field 5 can identify which root user on printouts to
networked printers.
• The absolute home directory is in field 6.
• The login shell in field 7 must be /sbin/sh.
3. When NIS is configured, run /var/yp/ypmake to build or synchronize the passwd
maps.
4. Move any private files into root’s home directory. For example, dot files
(/.[A-zA-Z]*).
# mv /.[A-zA-Z]* /homeroot
5. Verify that you can log in as root or su - root from a different session. If you
can’t, you still have this session to make corrections.
48 Configuring Root