Add a custom Welcome message in ProFTPD Server

//this was test in ProFTPD 1.2.10 version//

vi /etc/ftpwelcome.msg

write inside your message for e.g.:
Warning: All access to this server is logged. Only authorized users are permitted to connect.
Any unauthorized connection attempts will be logged and may be used in any manner we so choose.

Then save and exit.
open the conf file of ftp server: vi /etc/proftpd.conf
and add the line:
DisplayConnect /etc/ftpwelcome.msg

then do a restart of the service: /etc/init.d/xinetd restart

and login to your ftp server to see the message, it should be something like this:

C:\Documents and Settings\admin>ftp ftp.server.tld
Connected to server.tld.
220-
Warning: All access to this server is logged. Only authorized users are permitted to connect.
Any unauthorized connection attempts will be logged and may be used in any manner we so choose.

220 ProFTPD 1.2.10 Server (ProFTPD) [**.**.***.***]
User (server.tld:(none)): ftpuser
331 Password required for ftpuser.
Password:
230 User ftpuser logged in.
ftp> bye
221 Goodbye.

Advertisment

Leave a Reply

You must be logged in to post a comment.