HP-UX Remote Access Services Administrator's Guide

virtual <address> allow <username> [ username ...]
virtual <address> deny <username> [ username ...]
virtual <address> private
virtual <address> hostname email string
defaultserver deny <username> [ username ...]
defaultserver allow <username> [ username ...]
defaultserver private
Table 2-3 specifies different virtual clause examples.
Table 2-3 virtual Clause Options
Descriptionvirtual Clause Option
Allows the root user to start the FTP session on the machine
xx.xx.xx.xx. By default, real and guest users are not allowed
to log in to the virtual server unless they are guests and
have changed their directory to the virtual root directory.
This is applicable only for virtual FTP servers.
virtual xx.xx.xx.xx allow root
Denies root users and allows other users to start the FTP
session.
virtual xx.xx.xx.xx
allow *
virtual xx.xx.xx.xx deny
root
Denies service to anonymous FTP users.
virtual xx.xx.xx.xx private
Prints the string (telnet2.abc) instead of the actual host
name in the greeting message and STAT command.
virtual xx.xx.xx.xx hostname
telnet2.abc
Denies ftp on the default FTP server for the root user. The
message FTP LOGIN REFUSEDis logged in the
/var/adm/syslog file.
defaultserver deny root
Denies anonymous ftp connection to the default server.
The message FTP LOGIN REFUSED is logged in the
/var/adm/syslog file.
defaultserver private
Default Host Name
This feature defines the default host name of the FTP server that is displayed in the
greeting message. If you do not specify this clause, the default host name of the local
machine is used.
The syntax for the specifying the default host name is as follows:
hostname <some.host.name>
Additional Clauses in ftpaccess 51