Originally Posted by radim_h
i need to change one user (or should be all users in the domain)
to log directly under /web directory
i know there is solution editing proftpd.ini file
but i'd like to change the root just for single user (or it should be whole domain) and not affect the others
if that is not possbile
can i createsomehow ftp user not depending on ISPC ??
You can not modify the DefaultRoot for a single user but you can change DefaultChdir for a group. This will login that user into web but he will still be able to get into its parent folder.
1. get the group that user belongs to
2. open /etc/proftpd_ispconfig.conf
DefaultChdir web usergroup
where usergroup is the group of your FTP user.
4. restart proftpd
5. you will have to modify the master ispconfig proftpd config template to have this permanent, otherwise proftpd_ispconfig.conf will be reseted as soon as you'll add a new ftp account
Now only that user will chdir into web after login. I tested it on the fly and it seems to work. Correct me if I'm wrong.