Anonymous FTP

Discuss Your Server Questions and Aswers

Anonymous FTP

Postby Ashly vincent » Fri Aug 22, 2014 5:13 pm

How can i change the document root of ftp server?
Ashly vincent
 
Posts: 0
Joined: Tue Aug 19, 2014 11:35 am

Re: Anonymous FTP

Postby deepak » Sat Aug 23, 2014 2:30 pm

1) Add the following line in the /etc/vsftpd/vsftpd.conf file

anon_root=/directory

2) semange fcontext -a -t public_content_t "/directory(/.*)?"

3) restorecon -RF /directory
deepak
 
Posts: 0
Joined: Mon Aug 18, 2014 10:54 am


Return to Linux Server Configurations

Login  •  Register

cron