I have installed VSFTPD but when i turn it off, I can still access my ftp user how can i find the other FTPd and remove it

-Viktor Strate

  • Welcome to Ask Ubuntu. Can you please share how you turn vsftpd off and what sudo lsof -i gives you.
    – MadMike
    Jan 28, 2014 at 8:16

1 Answer 1


You can look at who is listening to the FTP port.

$ grep ftp /etc/services
ftp-data    20/tcp
ftp     21/tcp
# netstat lists all open ports, first egrep picks out servers, second picks ftp servers
$ sudo netstat -nape --inet | egrep '0\.0\.0\.0:\*' | egrep -w '20|21'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.