Ubuntu – How to determine which ftp server is running on the ubuntu box

ftpsshUbuntu

I can access my ubuntu box via ftp with username root and the same password I use for root ssh access.

I can't seem to ftp into the box with other usernames that are fine via ssh.
I've tried looking for files like .vsftpd in /etc/ but no joy as yet, am I barking up the right tree?

Thanks

Best Answer

You can run sudo lsof to look at all the open files (which includes sockets) and find out which application uses TCP port 21 and/or 22.