aboutsummaryrefslogtreecommitdiff
blob: fcdd38d6d8596b4dd0c76e40082d9827b9c4fde4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/etc/\.pwd\.lock	--	gen_context(system_u:object_r:shadow_lock_t,s0)
/etc/group\.lock	--	gen_context(system_u:object_r:shadow_lock_t,s0)
/etc/passwd\.lock	--	gen_context(system_u:object_r:shadow_lock_t,s0)
/etc/gshadow.*		--	gen_context(system_u:object_r:shadow_t,s0)
/etc/shadow.*		--	gen_context(system_u:object_r:shadow_t,s0)
/etc/tcb(/.*)?		--	gen_context(system_u:object_r:shadow_t,s0)
/etc/security/opasswd		--	gen_context(system_u:object_r:shadow_history_t,s0)
/etc/security/opasswd\.old	--	gen_context(system_u:object_r:shadow_history_t,s0)

/usr/bin/login		--	gen_context(system_u:object_r:login_exec_t,s0)
/usr/bin/pam_console_apply	--	gen_context(system_u:object_r:pam_console_exec_t,s0)
/usr/bin/pam_timestamp_check	--	gen_context(system_u:object_r:pam_exec_t,s0)
/usr/bin/tcb_convert		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/bin/tcb_unconvert		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/bin/unix_chkpwd		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
/usr/bin/unix_update		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/bin/unix_verify		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
/usr/bin/utempter		--	gen_context(system_u:object_r:utempter_exec_t,s0)
/usr/bin/validate		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)

/usr/kerberos/sbin/login\.krb5 -- gen_context(system_u:object_r:login_exec_t,s0)

/usr/lib/([^/]+/)?utempter/utempter --	gen_context(system_u:object_r:utempter_exec_t,s0)

ifdef(`distro_redhat', `
/usr/libexec/utempter/utempter	--	gen_context(system_u:object_r:utempter_exec_t,s0)
')
/usr/libexec/chkpwd/tcb_chkpwd	--	gen_context(system_u:object_r:chkpwd_exec_t,s0)

/usr/sbin/pam_console_apply	--	gen_context(system_u:object_r:pam_console_exec_t,s0)
/usr/sbin/pam_timestamp_check	--	gen_context(system_u:object_r:pam_exec_t,s0)
/usr/sbin/pwhistory_helper	--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/sbin/tcb_convert		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/sbin/tcb_unconvert		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/sbin/unix_chkpwd		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
/usr/sbin/unix_update		--	gen_context(system_u:object_r:updpwd_exec_t,s0)
/usr/sbin/unix_verify		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
/usr/sbin/utempter		--	gen_context(system_u:object_r:utempter_exec_t,s0)
/usr/sbin/validate		--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
ifdef(`distro_suse', `
/usr/sbin/unix2_chkpwd	--	gen_context(system_u:object_r:chkpwd_exec_t,s0)
')
ifdef(`distro_gentoo',`
/usr/bin/pwhistory_helper	--	gen_context(system_u:object_r:updpwd_exec_t,s0)
')

/var/cache/coolkey(/.*)?	gen_context(system_u:object_r:auth_cache_t,s0)

/var/db/shadow.*	--	gen_context(system_u:object_r:shadow_t,s0)

/var/lib/abl(/.*)?		gen_context(system_u:object_r:var_auth_t,s0)
/var/lib/pam_ssh(/.*)?		gen_context(system_u:object_r:var_auth_t,s0)

/var/log/btmp.*		--	gen_context(system_u:object_r:faillog_t,s0)
/var/log/faillog	--	gen_context(system_u:object_r:faillog_t,s0)
/var/log/lastlog	--	gen_context(system_u:object_r:lastlog_t,s0)
/var/log/tallylog	--	gen_context(system_u:object_r:faillog_t,s0)
/var/log/wtmp.*		--	gen_context(system_u:object_r:wtmp_t,s0)

/run/console(/.*)?	 	gen_context(system_u:object_r:pam_var_console_t,s0)
/run/faillock(/.*)?		gen_context(system_u:object_r:faillog_t,s0)
/run/motd		--	gen_context(system_u:object_r:pam_motd_runtime_t,s0)
/run/motd\.dynamic	--	gen_context(system_u:object_r:pam_motd_runtime_t,s0)
/run/motd\.dynamic\.new	--	gen_context(system_u:object_r:pam_motd_runtime_t,s0)
/run/motd\.d(/.*)?		gen_context(system_u:object_r:pam_motd_runtime_t,s0)
/run/pam_mount(/.*)?	gen_context(system_u:object_r:pam_runtime_t,s0)
/run/pam_ssh(/.*)?		gen_context(system_u:object_r:var_auth_t,s0)
/run/sepermit(/.*)? 	gen_context(system_u:object_r:pam_runtime_t,s0)
/run/sudo(/.*)?		gen_context(system_u:object_r:pam_runtime_t,s0)
/run/sudo/ts/%{USERNAME}	gen_context(system_u:object_r:pam_runtime_t,s0)
/var/(db|adm)/sudo(/.*)?	gen_context(system_u:object_r:pam_runtime_t,s0)
/var/lib/sudo(/.*)?	gen_context(system_u:object_r:pam_runtime_t,s0)