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

Configuring a Workgroup
Sharing Files and Applications via NFS and ftp
Chapter 4 409
Moving or Reusing an Exported Directory
If you rename an NFS-mounted directory, NFS clients must unmount
and remount the imported directory before they can see the new
contents.
For example, if a server is exporting /opt/myapp, and you move
/opt/myapp to /opt/myapp.old then rebuild and repopulate
/opt/myapp, all the NFS clients must unmount and remount the
directory, for example (as superuser on each client):
umount /opt/myapp
mount -a
Any client on which this is not done will continue to see the former
contents of /opt/myapp, that is /opt/myapp.old.
You can encounter the same problem in a slightly different way when you
reuse an LVM volume.
For example, suppose you unmount an obsolete file system named
/projects from a file server named fp_server, and subsequently reuse
the logical volume, mounting a file system /newprojects on it.
Any client that fails to unmount /projects will see the contents of
fp_server:/newprojects, labeled /projects.
Configuring Anonymous ftp
Anonymous ftp allows users who do not have an account on a given
system to send files to, and retrieve them from, that system.
Step 1. Add user ftp to /etc/passwd, for example:
ftp:*:500:1:anonymous ftp:/home/ftp:/usr/bin/false
The password field should be *, the group membership should be guest,
or, as in this example, other, and the login shell should be
/usr/bin/false.
In this example, user ftps user ID is 500, and the anonymous ftp
directory is /home/ftp.
Step 2. Create the anonymous ftp directory:
a. Create the ftp home directory that you referred to in the
/etc/passwd file, for example: