SME Server 7.3
Hi,
How do I change the FTP greeting banner. It's displaying the local IP at the moment
and I would like to change if possible?
Any help is appreciated.
The original message is in /var/ftp/welcome.msg, I suggest you do not alter that one but do the following:
Create a new file with the message you would like in /var/ftp/ with your favourite editor.
After that modify the templates to point to the new welcome message file, something like this:
mkdir -p /etc/e-smith/templates-custom/etc/proftpd.conf
cp /etc/e-smith/templates/etc/proftpd.conf/05DisplayLogin /etc/e-smith/templates-custom/etc/proftpd.conf/
Now edit the copied template fragment (/etc/e-smith/templates/etc/proftpd.conf/05DisplayLogin) to point to the new welcome message with you favorite editor.
After that regenerate the configuration file:
expand-template /etc/proftpd.conf
And restart the ftp server:
service ftp restart