Quote:
Originally Posted by vahab
any way to record the users logins in /var/adm/wtmp just like SSH logins.
|
The difference between OpenSSH and Vsftpd is that OpenSSH requires an account on the system and Vsftpd allows for
virtual users: the latter are only known to the FTP service. Fortunately Vsftpd can use PAM so if you use a list of virtual users (see pam_listfile.so) then pam_lastlog.so might be able to silently update wtmp. If you can't get it to work minimally post your vsftp.conf (that is 'grep -v ^# vsftp.conf|grep .;') and tell us what you changed, your PAM stack for FTP and system and or daemon log excerpts showing errors (client side error messages will most likely not be useful).