FTP alias of /home for /www

Asked

Viewed 79 times

-1

Long live,

I created in Ubuntu all the necessary configuration to access by FTP, but at a certain point I found a problem:

I have restricted so that each user can only access their /home/$USER folder but I want each user to access the /www/$DOMAIN folder

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

Help :S

1 answer

0

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

usermod -d /www/$DOMAIN $USER

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

chroot_local_user=YES

Browser other questions tagged

You are not signed in. Login or sign up in order to post.