Difference between revisions of "Ftp server"

From RHS Wiki
Jump to navigation Jump to search
(Created page with "== vsftpd == <nowiki>sudo apt-get install vsftpd</nowiki> Configuration file: /etc/vsftpd.conf to add users: /etc/ftpusers After making changes to configuration: <nowiki>su...")
 
Line 6: Line 6:
 
After making changes to configuration:
 
After making changes to configuration:
 
  <nowiki>sudo service vsftpd restart</nowiki>
 
  <nowiki>sudo service vsftpd restart</nowiki>
 +
 +
To change root directory in /etc/vsftpd.conf:
 +
modify: local_root=/opt

Revision as of 21:59, 10 February 2015

vsftpd

sudo apt-get install vsftpd

Configuration file: /etc/vsftpd.conf to add users: /etc/ftpusers

After making changes to configuration:

sudo service vsftpd restart

To change root directory in /etc/vsftpd.conf: modify: local_root=/opt