HP-UX System Administrator's Guide: Routine Management Tasks

For example, suppose user thomas has a UID of 200 on system tmsystem1 and imports
files to tmsystem2 where he has a UID of 330. If the files created on tmsystem1 have
permissions of -rw-------, then they will not be accessible to him from tmsystem2.
HP-UX determines file ownership by the UID, not by the user name.
As system administrator, you should ensure that each new user login name has a
corresponding UID that is unique within the workgroup, site, or network that the user
needs to reach.
See HP-UX System Administrator’s Guide: Configuration Management.
To allow a user to access a remote system usingrcp or remsh or to use rlogin without
supplying a password, set up $HOME/.rhostsfile on the remote system.
$HOME/.rhosts file
Users listed in the $HOME/.rhosts file are allowed access to the local system, from
the remote systems and accounts named in the file, without supplying a password.
This file should be owned by the local user.
In the following example, /home/evan/.rhosts resides on system et6700. Users
zac and matthew can log in to evans account on et6700, from zship and checker
respectively, without supplying a password.
zship zac
checker matthew
NOTE: Your site security policies might not allow you to use a $HOME/.rhosts file
or allow the use of remsh or rcp. If this is the case, consider using the secure shell
(ssh) and secure copy (scp) commands instead.
Sharing Remote Work Directories
After you have created a new users account, you must decide which directories within
the workgroup the user needs to access. NFS allows users to use their own systems to
work on files residing on other file servers. The server or remote system shares the
users system and the users system imports from the remote system.
The topic Adding a User to Several Systems: A Case Study” (page 146) illustrates how
you might set up your users.
Local versus Remote Home Directories
Users can have their home directory on their own local system or on a remote file server.
The advantage of keeping all users’ home directories on one file server is that you can
back up all the accounts at one time.
If a users home directory is on a remote server, you may want to create a minimal
home directory on the local system so that a user can still log into the local system if
the server is down. See HP-UX System Administrator’s Guide: Configuration Management.
How To: 145