Jail user to run process
Hi all,
I have created a user 'jailuser' in a chroot jail environment. The home of the user is now /home/webjailuser/home/jailuser.
I am using this user so that the user can only change html files of web document root as I mounted that directory under his home.
Now, I want to grant that user the privilege to star/stop apache server only. Is it possible with jailkit? The reason behind this I have a system with tomcat where I grant privilege to the user to start/stop tomcat service so it the above is possible then I will put the user in jail and just give him tomcats docroot and tomcat process privilege. Nothing else.
Thanks
|