Skip to contentSkip to conversation

ntpdate policy

PATCH Russell Coker 1 participant 1 message Apr 14, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

allow sysadm_t ntp_port_t:udp_socket name_bind;

When running ntpdate with the strict policy the above is required.

Patch attached.

Signature · 4 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
ntpd.te renamed from ntpd.te.old +1 -0
@@ -14,6 +14,7 @@
 
 type ntpdate_exec_t, file_type, sysadmfile, exec_type;
 domain_auto_trans(initrc_t, ntpdate_exec_t, ntpd_t)
+allow sysadm_t ntp_port_t:udp_socket name_bind;
 
 logdir_domain(ntpd)