HP-UX System Administrator's Guide: Configuration Management
POSIX shell users /etc/skel/.profile is copied to the home directory as .profile.
For C shell users, /etc/skel/.login and /etc/skel/.cshrc are copied to the
home directory as .login and .cshrc. Refer to the Shells: User’s Guide and the Technical
Addendum to the Shells: User’s Guide for information on customizing user login scripts.
NOTE: Do a full backup once you have initially set up and customized your system.
This allows you to reconstruct your system — kernel, system files, file system structure,
user structures, and your customized files — if you need to. Use HP-UX commands to
perform the backup, as described in the HP-UX System Administrator’s Guide: Routine
Tasks.
Accessing Multiple Systems
If a user has an account with the same login on more than one system (for example, if
the user’s home directory is NFS-mounted from a file server), the user ID number
should be the same on all of these systems.
For example, suppose user tom has a user ID of 200 on system dept27 and shares files
to wsj6700 where he has a user ID of 330. If the files created on dept27 have
permissions of -rw-------, then they will not be accessible to him from wsj6700.
HP-UX determines file ownership by the user ID, not by the user name.
As system administrator, you need to ensure that each new user login name has a
corresponding user ID that is unique within the workgroup, site, or network that the
user needs to reach.
For information on whether you should share users’ home and mail directories, see
the HP-UX System Administrator’s Guide: Overview.
To allow a user to access a remote system with rcp, remsh, or rlogin without
supplying a password, set up $HOME/.rhostsfile on the remote system. See
“$HOME/.rhosts File” (page 72).
Consider using the Network Information Service (NIS) to manage your users on multiple
systems. See the NIS Administrator’s Guide.
Sharing Remote Work Directories
After you have created a new user’s account, you must decide which directories within
the workgroup the user needs to access. NFS allows users to use their own local systems
to work on files residing on file servers or other systems in the workgroup. The server
or remote system shares with the local system and the local system mounts from the
remote system.
The topic “Adding a User to Several Systems: A Case Study” (page 70) illustrates how
you might set up your users.
Accessing Multiple Systems 69