Policy for webalizer

Yuichi Nakamura himainu-ynakam at miomio.jp
Sun Jun 27 11:33:49 UTC 2004


Hi.

I found that webalizer does not work from cron on FedoraCore2.

It seems that there is no policy for webalizer.
I wrote policy for webalizer.
I tested it from command line and cron.
Please use.

(1) copy webalizer policies to policy source dir.
#cp webalizer.te /etc/security/selinux/src/policy/domains/program
#cp webalizer.fc /etc/security/selinux/src/policy/file_contexts/program

(2) append the following to /etc/security/selinux/src/policy/domains/program/apache.te .

r_dir_file(httpd_t,webalizer_usage_t)

(3) reload and relabel
#cd  /etc/security/selinux/src/policy/
#make reload
#setfiles file_contexts/file_contexts /usr/bin /var /etc

Thank you.

---
Yuichi Nakamura
Japan SELinux Users Group(JPSEG)
http://www.selinux.gr.jp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webalizer.te
Type: application/octet-stream
Size: 1852 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20040627/acd9decd/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webalizer.fc
Type: application/octet-stream
Size: 230 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20040627/acd9decd/attachment-0001.obj 


More information about the selinux mailing list