Display a Prelogin Banner

This command is a reference to a file that is displayed before the user receives a login prompt from the FTP server:

banner <path>

Generally, this file contains information to identify the server. The path is an absolute pathname, relative to the system root (/ ), not the base of the anonymous FTP user's home. The entry might look like this:

banner /etc/uftp.banner

This example uses the file named uftp.banner under the /etc directory. The file can contain one or more lines of text, such as

Weicome to Widget, Inc.'s FTP server.

This server is oniy for use of authorized users.

Third-party deveiopers shouid use a mirror site.

When an FTP user attempts to log in, the banner will be displayed like so:

$ ftp shuttle2

connected to shuttie2.home.org. 220-Weicome to Widget, Inc.'s FTP server. 220-This server is oniy for use of authorized users. 220-Third-party deveiopers shouid use a mirror site. 220220220 shuttie2 FTP server (Version wu-2.6.2-8) ready. 504 AUTH GssAPI not supported. 504 AUTH KERBER0s_V4 not supported. KERBER0s_V4 rejected as an authentication type Name (shuttie2:phudson):

Was this article helpful?

0 0

Post a comment