To use the greeting text capability to check that the correct ftpaccess file is being used, do the following:
Add the following directive to the ftpaccess file.
greeting text message |
Connect to the FTP server.
If the message fails to appear, do the following:
Confirm that the ftpaccess file is in the correct location. Use the strings(1) command to obtain the location of the file from the FTP server binary.
# strings /usr/sbin/in.ftpd | grep "^/.*ftpaccess" |
Check the ftpservers file to see if virtual hosting has been configured.
For further information, see ftpaccess(4), ftpservers(4), strings(1), syslog.conf(4), and pgrep(1).