selinux-policy/targeted/file_contexts/program/samba.fc

27 lines
1.4 KiB
Plaintext
Raw Normal View History

2005-10-21 18:05:21 +00:00
# samba scripts
/usr/sbin/smbd -- system_u:object_r:smbd_exec_t:s0
/usr/sbin/nmbd -- system_u:object_r:nmbd_exec_t:s0
/usr/bin/net -- system_u:object_r:samba_net_exec_t:s0
/etc/samba(/.*)? system_u:object_r:samba_etc_t:s0
/var/log/samba(/.*)? system_u:object_r:samba_log_t:s0
/var/cache/samba(/.*)? system_u:object_r:samba_var_t:s0
/var/lib/samba(/.*)? system_u:object_r:samba_var_t:s0
/etc/samba/secrets\.tdb -- system_u:object_r:samba_secrets_t:s0
/etc/samba/MACHINE\.SID -- system_u:object_r:samba_secrets_t:s0
# samba really wants write access to smbpasswd
/etc/samba/smbpasswd -- system_u:object_r:samba_secrets_t:s0
/var/run/samba/locking\.tdb -- system_u:object_r:smbd_var_run_t:s0
/var/run/samba/connections\.tdb -- system_u:object_r:smbd_var_run_t:s0
/var/run/samba/sessionid\.tdb -- system_u:object_r:smbd_var_run_t:s0
/var/run/samba/brlock\.tdb -- system_u:object_r:smbd_var_run_t:s0
/var/run/samba/namelist\.debug -- system_u:object_r:nmbd_var_run_t:s0
/var/run/samba/messages\.tdb -- system_u:object_r:nmbd_var_run_t:s0
/var/run/samba/unexpected\.tdb -- system_u:object_r:nmbd_var_run_t:s0
/var/run/samba/smbd\.pid -- system_u:object_r:smbd_var_run_t:s0
/var/run/samba/nmbd\.pid -- system_u:object_r:nmbd_var_run_t:s0
/var/spool/samba(/.*)? system_u:object_r:samba_var_t:s0
ifdef(`mount.te', `
/usr/bin/smbmount -- system_u:object_r:smbmount_exec_t:s0
/usr/bin/smbmnt -- system_u:object_r:smbmount_exec_t:s0
')