Access to Поля Outside the Оме Директори Chroot - For every Users

I want to allow access to / var / www / dev / to every user in my system (+50) путь their home directory (so they хан access путь FTP with chroot_local_user=YES)

Особенный For one user I хан do:

mkdir /home/user_name/www_dev
mount --bind /var/www/dev/ /home/user_name/www_dev

And then make this configuration permanent by editing / и т.д. / fstab:

/var/www/dev  /home/user_name/www_dev    none    bind    0       0

My question is: the above is for 1 частное лицо user, how хан I make this work for every user in the system? and automatically when I поверьте в new user?

1
задан 2 December 2015 в 14:17

0 ответов

Другие вопросы по тегам:

Похожие вопросы: