Internet Services Delta Manual for HP-UX 11i Version 1.6

Example 4
virtual xx.xx.xx.xx allow
root
- Adding this entry will ensure that user root is allowed to start the ftp session in the machine.
By default, all real and guest users will be denied service. This is applicable only for virtual
ftpservers.
virtual xx.xx.xx.xx allow *
virtual xx.xx.xx.xx deny root
- Adding this entry will deny root users and allow other users to start ftp.
virtual xx.xx.xx.xx private
- Adding this entry will deny service for anonymous ftp.
virtual xx.xx.xx.xx hostname
telnet2.abc
- Adding this entry will print the greeting (telnet2.abc) in place of the actual hostname at the
beginning.
defaultserver deny root
- Adding this entry denies ftp on the default ftp server for the root user. The message "FTP
LOGIN REFUSED" is displayed in syslog.
defaultserver private
- Adding this entry anonymous ftp is denied on default server. The message "FTP LOGIN
REFUSED" is logged in the syslog.
Default host name:
This feature defines the default host name of the ftp server which will be displayed in the
greeting message. If this clause is not specified, the default host name of the local machine is
used.
The general syntax for this is:
hostname <some.host.name>
Example 5
hostname telnet2.123.com
- Displays the default hostname specified (telnet2.123.com) in place of the actual hostname
in the greeting message.
Control information:
This feature allows you to control the information given out in the greeting message before a
remote user logs in. The information specified can be either hostname and daemon version,
only hostname or just the message "FTP server ready". By default, "greeting full" is set as the
default greeting clause.
The general syntax for this is:
greeting full|brief|terse
greeting text <message>
- Using the "greeting text" clause a different text message from the standard greeting can be
printed.
Chapter Overview 23