Q. How do I change the banner message that vsftpd server displays?
A. vsftpd, stands for 'Very Secure FTP Daemon', is an FTP server for many Linux distributions.
In order to impove security you may need to change default banner message. To change banner message open configuration file /etc/vsftpd/vsftpd.conf file:
# vi /etc/vsftpd/vsftpd.conf
Locate line which is read as follows:
#ftpd_banner=
Uncomment line to customize the login banner and setup new text message:
ftpd_banner=Welcome to nixCraft ftp server
Save and close the file. Restart vsftpd:
# /etc/init.d/vsftpd restart
Now all users of VSFTPD/FTP should see your login banner. Test new setup with ftp command from windows or linux box itself:
$ ftp ftp.myftpserver.com
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -

{ 2 comments… read them below or add one }
Can the banner variable point to a file instead of displaying the line? I tried listing a path to the file but all it does is display what I just typed in.
Hi Laura,
You can use the banner_file option to do that. If set, it overrides the banner string provided by the ftpd_banner option.
Check out man vsftpd.conf for all available settings.
Regards