Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a Workgroup
Adding Users to a Workgroup
Chapter 4 391
a. Create Tom’s account. See “Adding a User to a System” on page 245.
If Tom’s login has already been set up on another system (for example
on flserver) you may want to cut the line from flserver’s
/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 /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)” on page 395 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 exported to the other systems she logs in on.
Step 1. On the local system, do the following:
a. Create the user’s account. See “Adding a User to a System” on
page 245.
b. Export the user’s home directory to other systems that the user needs
to log in to:
Add an entry, such as flserver, to /etc/exports:
/home/lisa -async,anon=65534,access=mailserver:appserver:flserver
Export the home directory/home/lisa: