selinux-refpolicy/strict/file_contexts/program/samba.fc

27 lines
1.3 KiB
Plaintext
Raw Normal View History

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