HP-UX System Administrator's Guide: Configuration Management
See “Sharing an HP-UX Directory” (page 77) for more information.
Sharing a Local Home Directory
Assume you are setting up an account on the system named wsj6700 for the user
lisa. In this example, lisa’s home directory will reside on her local disk and will be
shared with the other systems she logs in to.
1. On the local system, do the following:
a. Create the user’s account. See “Configuring Users and Groups with HP SMH”
(page 49).
b. Share the user’s home directory with other systems that the user needs to log
in to:
• Add an entry, such as flserver, to /etc/dfs/dfstab:
share -F nfs -o access=mailserver:appserver:flserver /home/lisa
• Share the home directory/home/lisa:
# /usr/sbin/share /home/lisa
2. On the remote system, do the following:
a. Create an empty directory:
# mkdir /home/lisa
b. Add entry to /etc/fstab :
wsj6700:/home/lisa /home/lisa nfs rw,suid 0 0
c. Mount all directories:
# mount -a
See “Sharing an HP-UX Directory” (page 77) for more information.
Allowing Access from Remote Systems
To allow a user access from a remote system using rcp, remsh, or rlogin without
supplying a password, set up an /etc/hosts.equiv or $HOME/.rhosts file on the
local system. See the hosts.equiv(4) manpage for more information.
The /etc/hosts.equiv file can contain NFS netgroups. See the NFS Services
Administrator's Guide for more information.
$HOME/.rhosts File
Users listed in $HOME/.rhosts 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.
72 Configuring Users and Groups