Anonymous FTP
2 posts
• Page 1 of 1
Anonymous FTP
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
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
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
2 posts
• Page 1 of 1