I'm running Proftpd on a Red Hat 7.2 box. How come when users are logged into the FTP server, the w or finger commands don't show the users logged in? I can only see them with the ftpwho command.
Thanks, but its not working. Does it matter where I put the entry in the file? I did restart the Proftpd daemon.
Here's my config...
ServerName "Server"
ServerType standalone
DefaultServer on
Port 21
Umask 027
MaxInstances 10
User user
Group proftpd
DisplayLogin ./readme.txt
DefaultRoot /ftp
CDPath /ftp
CDPath ~
AllowOverwrite on
ExtendedLog ./.ftplog read,write
WtmpLog on
Does the logged in user show up? It works for me, and your config file looks ok. 'w' does not show the user logged in, so sorry for giving you some false hope. I think this is because 'w' reads utmp, where 'last' reads wtmp. It looks like proftpd does not log to utmp, so you can always write a script, combining the two commands to show who is on your system. Bruce Garlock
bruceg@tiac.net
If I do a "cat /var/log/wtmp" or "cat /var/run/utmp" it just shows me a big mess. I'm connecting to the Linux box via PuTTY from a Windows machine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.