Web Hosting Talk







View Full Version : Changing the default server FTP logon banner message


CrowMan
08-03-2002, 12:09 PM
How can one change the default server FTP logon banner message?

This would be a good place to put the server name that the customer is on.


220 ProFTPD 1.2.4 Server (ftp.domain.com) [xxx.xxx.xxx.xxx]
331 Password required for "user name".
230 User "user name" logged in.

MikeM
08-03-2002, 01:57 PM
http://www.redhat.com/support/resources/tips/FTP-Setup-Tips/FTP-Setup-Tips-3.html

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

This should help...
I think

MotleyFool
08-05-2002, 06:21 AM
For servername put ServerIdent On " servername-you-want"

CrowMan
08-06-2002, 05:55 PM
MotleyFool

Can you tell more about your fix?

MotleyFool
08-07-2002, 01:04 AM
CrowMan,

Sure..

ProFTPd by default shows teh hostname of the server on which it is running for each login

If you want to change it to "ftp.xanadu.com" just put

ServerIdent On " ftp.xanadu.com" in proftpd.conf file

and it will display

ProFTPd ftp.xanadu.com

You may need to kill the current proftpd processes and restart the daemon for this to take effect

If you need any more info just holler! :D

Cheers
Balaji