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

3. On Tom’s system, wsb2600, do the following:
a. Create Tom’s account. See HP-UX System Administrator’s Guide: Configuration
Management. If Tom’s login has already been set up on another system (for
example on flserver) you may want to cut the line from flservers
/etc/passwd file and paste it into the /etc/passwd file on wsb2600 to
ensure that Tom’s account has the same UID number on both systems.
b. Create empty directories for the file systems to be imported.
mkdir /home/tom
mkdir /projects/work
mkdir /usr/local/share/emacs
mkdir /opt/hp/gnu/bin700/emacs
mkdir /opt/netscape
c. Add entries to /etc/fstab.
flsserver:/home/tom /home/tom nfs rw,suid 0 0
flserver:/work /work nfs rw,suid 0 0
appserver:/opt/netscape opt/netscape nfs rw,suid 0 0
appserver:/usr/share/emacs/ /usr/share/emacs nfs rw,suid 0 0
appserver:/opt/hp/gnu/bin700/emacs nfs rw,suid 0 0
d. Mount all the directories:
mount -a
See “Exporting a File System (HP-UX to HP-UX)” (page 149) for more information.
Exporting a Local Home Directory
Assume you are setting up an account on the system named wsj6700 for the user
lisa. In this example, lisas home directory will reside on her local disk and will be
shared with the other systems she logs in on.
1. On the local system, do the following:
a. Create the users account. See HP-UX System Administrator’s Guide:
Configuration Management.
b. Export the users home directory to other systems that the user needs to log
in to:
Add an entry, such as flserver, to /etc/dfs/dfstab:
share -F -o async,anon=65534 -d lisa home /home/lisa
Export the home directory/home/lisa:
shareall -F nfs
148 Managing Systems