How do I restrict users to access one specifc directory like /var/www/web3/web/download/FTP_USER_NAME instead of /var/www/web3/user/FTP_USER_NAME thanks
Hi, With proftpd, there is an option to lock the user in his home directory (seek at DefaultRoot). The user won't be able to go elsewhere. you can choose the user home directory when you create it with useradd, so the user will be locked into the directory you want him to be locked into but this option apply to all users. Be aware that in creating the users with useradd, they'll have a valid shell by default, so they will be able to connect the computer. if you don't want that, use -s option and set the shell to /bin/false. Was that what you wanted to know ?
That's actually one solution, but I meant to create users and set their own directory like that: /var/www/web3/web/download/user1 /var/www/web3/web/download/user2 /var/www/web3/web/download/user3 But, I don't want user2 touch user3 files. Just like in cpanel, when you create one new user, you set his own private path.
I want something like this: http://www.proftpd.org/localsite/Userguide/linked/chroot.html but for individual users, one with it's own directory. note: download/user_name will be outside web/ so it will be public to internet access thanks
You can not do this in ispconfig 2 as the users are also used for email. You can e.g. create the linux users manually.