How to run daemon process being a normal user [not root user].
I want to run a http daemon/service being a "test" user through "chroot" command as follows. so that "mychroot_dir" becomes as "/".
$/usr/sbin/chroot mychroot_dir /apache/bin/httpd -k start
/usr/sbin/chroot: cannot change root directory to mychroot_dir: Operation not permitted
Here i have 3 questions to ask:
1. Under which user i have to run "/sbin/runuser".
2. weather chroot command will not work under a normal user.
3. Is there any alternate solution for the above requirement.
Thanks in advance
|All times are GMT -5. The time now is 03:47 AM.|