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.

Can someone tell me how to chroot FTP users with Virtualmin, if it is possible.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Have you taken a look at this thread?

http://www.virtualmin.com/node/9823

share|improve this answer
1  
Virtualmin has an FTP directory restriction option. –  madphp Aug 17 '09 at 1:23

What you want is not actually a chroot. You want the DefaultRoot setting in ProFTPd.

You can set that in Virtualmin by browsing to Webmin>Servers>ProFTPd Server>Files and Directories, and set the option labeled "Limit users to directories" to "Home directory". Save it, and click "Apply changes" in the upper right corner.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.