HP-UX Remote Access Services Administrator's Guide

The syntax for keepalive clause is as follows:
keepalive yes no
Clauses to Control Access to Areas on the FTP Site
You can specify clauses to control whether a real or guest user is allowed access to
areas on the FTP site other than their home directories.
The syntax for the clauses that control access to areas on the FTP site is as follows:
restricted-uid <uid-range>[...]
restricted-gid <gid-range>[...]
unrestricted-uid <uid-range>[...]
unrestricted-gid <gid-range>[...]
NOTE: For all these clauses, you must copy the libraries /usr/lib/libnss_files.1
and /usr/lib/libdld.2 to the /usr/lib directory of the current environment.
Example 2-2 The restricted-uid and restricted-gid Clause
The following are some examples for the restricted-uid and restricted-gid
clauses:
restricted-uid abtusera abtuserb
restricted-gid users abt
These clauses do not replace the use of guestgroup and guestuser. Instead, you
can use these clauses to supplement the operation of guests. You can use the
unrestricted-uid and unrestricted-gid clauses to allow users who are
otherwise restricted to use their home directories.
File Retrieval
This feature allows you to retrieve files that are otherwise denied by the noretrieve
clause. The allow-retrieve clause overrides the noretrieve clause.
The syntax for retrieving the files is as follows:
allow-retrieve [ absolute relative ]
[ class= classname ] ... [-] filename
Virtual Server
Using the virtual server clauses, you can restrict user access to both the virtual and
non-virtual domains. Also, you can use the options specified in the virtual clause
to display the virtual host name.
The syntax for the virtual clause is as follows:
50 Configuring FTP