Hi all,
I've the following script under /root/cron:
-rwxr-xr-x root root root:object_r:user_home_t checkconn
This script just check whether or not pppd is running. If not, checkconn restarts pppd by invoking a script named adsl-start.
adsl-start is located under /sbin:
-rwxr-xr-x root root system_u:object_r:sbin_t /sbin/adsl-start
I've added checkconn to crontab, but it doesn't work due to SELinux... Could you tell me which security context should I set for checkconn?
Thanks, j3d.
On Wednesday 05 January 2005 04:58, Giuseppe Greco giuseppe.greco@agamura.com wrote:
I've the following script under /root/cron:
-rwxr-xr-x root root root:object_r:user_home_t checkconn
If you have /root labeled as user_home_dir_t (as I guess from the above) then you have just lost most of the benefits of strict policy.
If you label /root as sysadm_home_dir_t and /root/.* as sysadm_home_t then it should work.
selinux@lists.fedoraproject.org