proftpd questions on configuration
Couple of questions with proftpd.
The server runs fine, I just want to add some info on startup for each user that loged on to the system. With the configuration below; if I log in with a none jailed user (one that can see the whole structure of the system), the welcome message works. But, when I use a jailed (to a directory other then there home) the user I gets nothing. Also I don't wan to display where the server is running from when logged on (220 tolerance.tilt.org FTP server ready),how do I change this?
Also, I was told it was possible to run the welcome.msg as a script that will, for example, display a ftpwho command or other option used in proftpd.
Login Posted:
220 tolerance.tilt.org FTP server ready
331 Password required for admin.
230 User test logged in.
Proftpd.conf:
ServerName notolerance
ServerType inetd
Port 21
Umask 002
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
UseReverseDNS off
<Global>
DisplayLogin welcome.msg
DisplayFirstChdir
DisplayQuit
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
AllowRetrieveRestart on
DeferWelcome on
DeleteAbortedStores off
ShowSymlinks off
RootLogin off
MaxLoginAttempts 3
RequireValidShell on
UseFtpUsers off
AllowStoreRestart on
ServerIdent off
DefaultRoot ~
DirFakeGroup on
DirFakeUser on
AuthAliasOnly off
</Global>
TimesGMT off
AllowForeignAddress on
DefaultServer on
MaxClients 5
MaxClientsPerHost 2
AllowOverwrite on
ServerAdmin notolerance
WtmpLog on
welcome.msg:
-------Welcome To NoToLeRaNcE Ftp Server
-------Today is %T
-------User Ident is %u
|