Fedora 17, crond and SELinux
Man-wai Chang
mwchang at hkbn.net
Wed Aug 1 05:11:01 PDT 2012
Anyone knew how I could make scripts called by crond to create/modify
files using BASH scripts the SELinux way?
I got the following error:
Aug 1 20:00:01 changmw kernel: [447438.876534] type=1400
audit(1343822401.766:33018): avc: denied { append } for pid=15608
comm="bash" name="issue.net.txt" dev="dm-1" ino=4579
scontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023
tcontext=system_u:object_r:etc_t:s0 tclass=file
`setenforce 0` can solve all problems, but I would like to learn about
SELinux... :)
--
@~@ Remain silent. Nothing from soldiers and magicians is real!
/ v \ Simplicity is Beauty!
/( _ )\ May the Force and farces be with you!
^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
More information about the Linux-users
mailing list