Linux 101: Vsftp Service Configuration Tutorial

I am reposting this tutorial for future’s reference.

Also, to check if vsftpd service is running or not, you can use

shell>service --status-all | grep vsftpd

And to control vsftpd service, you can use

shell>/etc/init.d/vsftpd start
shell>/etc/init.d/vsftpd stop
shell>/etc/init.d/vsftpd restart

And to make vsftpd automatically start everytime system is rebooted, you can run

shell>chkconif vsftpd on

In addittion, it is recommended that you set up a dedicated ftp user account whoes SSH connection is denied and to do so:

shell>useradd ftp_user
shell>passwd ftp_user
shell>usermod -s /sbin/nologin ftp_user


About Nick Xu

Not a DBA anymore
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s