2

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

Ladadadada
  • 26,337
  • 7
  • 59
  • 90
madphp
  • 379
  • 3
  • 12
  • This question appears to be off-topic because it is about [`working with a service provider's management interface, such as cPanel`](http://serverfault.com/help/on-topic). – HopelessN00b Jan 14 '15 at 01:27

2 Answers2

6

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.

swelljoe
  • 1,415
  • 8
  • 12
3

Have you taken a look at this thread?

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

KPWINC
  • 11,394
  • 3
  • 37
  • 45