FTP Logs in Unix

Hi.

Is there a way or command (other than netstat) in Unix to find out or get a list a users who FTP into a particular server? Like, say last 1000 users. I need to get the user ID (any info), who FTP to a particular server.

netstat gives only the users who have an FTp session currently.

Please advice. Thanks in advance

lsof | grep -i ftp
  • this might also help if you have lsof installed, then sort the unique usernames.

Hi,

I do not have lsof installed in my machine.

Thanks

I have an access to Shell, however I am not the server admin. How can I check which FTP client is installed on my server

Depends on which unix. In general:

last | grep " ftp "