Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I added an user to pure-ftpd with adduser -h /blah user, using busybox.

Unfortunately, he is able to go up in the tree and see the root folder.

How can I disallow this ?

share|improve this question
    
Thank you for the answers :) –  user39610 Apr 5 '10 at 11:10

2 Answers 2

up vote 0 down vote accepted

Edit the file /etc/pure-ftpd/conf/ChrootEveryone

Enter the following in this file :

yes

Restart pure-ftpd

share|improve this answer

You can start pure-ftpd with the -A options to chroot all users within their home directories. See the FAQ.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.