Wednesday, February 17, 2010

Set up FTP server in Linux

STEP 1:
Install the package
$ sudo apt-get install vsftpd
STEP 2:
Edit /etc/vsftpd.conf
Disable anonymous access:
Change the "anonymous_enable" setting to NO
Change the "local_enable" setting to YES.

STEP 3:
Restart the services
$/etc/init.d/vsftpd restart

TROUBLESHOOTING:
Inorder to enable root login for FTP clients(Eg:File zilla)
We need to edit /etc/ftpusers
Comment the root user and restart the services.

No comments: