Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP Server

Status
Not open for further replies.

sdabreo

IS-IT--Management
Oct 3, 2002
50
IN
We have Redhat linux 9.0 in our office and i configured vsftpd server, the problem is if open the ftp server in my brower all the root folders are getting listed, I don't want to list other folders and files, as soon as users login it should show only their home directory nothing else. If i try the same in command prompt from the client machine it goes directly to the home directory.

Can any one guide me how to go to users home folder directly while loggin in...

Regards
Sakthi
 
If you are using a browser, you are accessing the site using the http protocol not ftp. Your ftp server has no control over this. You need to set restrictions to directories from within httpd.conf. If you meant that your ftp client is listing all the directories, then you can chroot users to their own home directories. To do that, add or uncomment this line to /etc/vsftpd/vsftpd.conf:

Code:
chroot_local_user=YES

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top