chroot an user to more than one directory in different locations
1
vote
2
answers
3020
views
I would like to know how I can constraint a user to only be able to access and have RWX permissions to directories like
/etc/httpd
, /etc/php
and /var/www/html
as well as its own home directory.
Also I would like to be able to constraint this user to be able to only star/stop/restart apache service.
All I could think of is chroot, but I have just done that with one directory. Any ideas?
Asked by VaTo
(3248 rep)
Jan 23, 2018, 06:36 PM
Last activity: Jan 24, 2018, 12:17 AM
Last activity: Jan 24, 2018, 12:17 AM