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

1. On the file server,share Tom’s home directory (/home/tom) and the projects
directory where he does his work (/projects/work):
a. Add an entry to the /etc/dfs/dfstab file to share Tom’s home directory:
share -F nfs -o -async,anon=65534 -d home dir /home/tom
If the directory is already shared, simply add the users system to the access
list.
b. Add an entry to the /etc/dfs/dfstab file to share the /projects/work
directory:
share -F nfs -o -async,anon=65534 -d work /projects/work
This contains the files and directories Tom will share with other members of
his project team.
c. Force the server to re-read /etc/dfs/dfstab and activate the new shares
for /projects/work and /home/tom:
shareall -F nfs
2. On the application server, share the directories (emacs and netscape) that Tom
needs:
a. Add entries to the /etc/dfs/dfstab file:
share -F nfs -o async,anon=65534 -d emacs /usr/local/share/emacs
share -F nfs -o async,anon=65534 -d emacs /opt/hp/gnu/bin700/emacs
share -F nfs -o async,anon=65534 -d netscape /opt/netscape
b. Export the directories for emacs and netscape:
sharall -F nfs
How To: 147