Printing out /etc/motd when a ftp login occurs is a security hole
(as is printing out a version number at the telnet login banner). Don't print out /etc/motd when people login, instead if present, print out /etc/ftpmotd. It looks like 4.4lite2 has done something similar (perhaps for different reasons) because /etc/motd no longer shows up on vangogh. Folks who like the old behavior can create a symbolic link to motd.
This commit is contained in:
parent
741eddd9e6
commit
387cc054fe
@ -35,6 +35,5 @@
|
||||
|
||||
#include <paths.h>
|
||||
|
||||
#define _PATH_FTPUSERS "/etc/ftpusers"
|
||||
#define _PATH_FTPWELCOME "/etc/ftpwelcome"
|
||||
#define _PATH_FTPLOGINMESG "/etc/motd"
|
||||
#define _PATH_FTPLOGINMESG "/etc/ftpmotd"
|
||||
|
Loading…
Reference in New Issue
Block a user