Just installed vsftpd but it isn't showing in services
772
I have installed vsftpd and configured as per several tutorials (just the very basic, standard setup) but when I run cat /etc/services there is nothing appearing for Port 21.
What steps do I need to follow in order to add this in?
You just need to open up /etc/services in a text editor and add it. There's nothing special that needs to be done. I'm incredibly surprised that it's not in there already; try a grep for ftp.
The
/etc/services
file is just text. You can edit it using your favourite text editor. My CentOS system has the following for ftp/etc/services
does not provide you a real-time list your server has running.Use
netstat -tlnp
to see processes listening on some network ports.You just need to open up
/etc/services
in a text editor and add it. There's nothing special that needs to be done. I'm incredibly surprised that it's not in there already; try agrep
forftp
.