FTP alias from / home to / www

-1

Live,

I created ubuntu all the necessary configuration to access by FTP, but at some point I encountered a problem:

I restrict each user to only access his / home / $ USER folder, but I want each user to access the / www / $ DOMAIN

Is it possible to make an alias? Or alo for the same effect ... I tried a link but it gives an error and the link goes below on FTP ...

Help: S

    
asked by anonymous 22.11.2014 / 16:50

1 answer

0

Set the user's home directory to be the path you prefer.

usermod -d /www/$DOMAIN $USER

If you want, you can also set the user to only have access to your home directory by editing the file / etc / vsftpd.conf , by adding the following lines:

chroot_local_user=YES
    
23.11.2014 / 00:29