crontab -u
root/admin_macros.te 2004-09-05 21:28:38.504868911 +1000 renamed from admin_macros.te 2004-09-03 05:14:42.000000000 +1000 +1 -1
@@ -67,7 +67,7 @@ # Manipulate other user crontab. allow $1_t self:passwd crontab; - +can_getsecurity(sysadm_crontab_t) # Change system parameters. can_sysctl($1_t)
The above patch is needed to have crontab -u work as administrator. The below patch is needed to have rpm run crontab -u (IE installing mailman).
program/rpm.te 2004-09-05 21:39:08.658793880 +1000 renamed from root/rpm.te 2004-09-05 21:37:55.677133067 +1000 +1 -0
@@ -161,6 +161,7 @@ ') ifdef(`crond.te', ` allow crond_t rpm_t:fifo_file r_file_perms; +allow rpm_script_t self:passwd crontab; ') allow rpm_script_t proc_t:dir { search getattr };
Signature · 9 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Merged.
Quoted 27 lines · Russell Coker
root/admin_macros.te 2004-09-05 21:28:38.504868911 +1000 renamed from admin_macros.te 2004-09-03 05:14:42.000000000 +1000 +1
-1@@ -67,7 +67,7 @@ # Manipulate other user crontab. allow $1_t self:passwd crontab; - +can_getsecurity(sysadm_crontab_t) # Change system parameters. can_sysctl($1_t)The above patch is needed to have crontab -u work as administrator. The below patch is needed to have rpm run crontab -u (IE installing mailman).
program/rpm.te 2004-09-05 21:39:08.658793880 +1000 renamed from root/rpm.te 2004-09-05 21:37:55.677133067 +1000 +1
-0@@ -161,6 +161,7 @@ ') ifdef(`crond.te', ` allow crond_t rpm_t:fifo_file r_file_perms; +allow rpm_script_t self:passwd crontab; ') allow rpm_script_t proc_t:dir { search getattr };
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.