1sysadm_passwd_selinux(8) SELinux Policy sysadm_passwd sysadm_passwd_selinux(8)
2
3
4
6 sysadm_passwd_selinux - Security Enhanced Linux Policy for the
7 sysadm_passwd processes
8
10 Security-Enhanced Linux secures the sysadm_passwd processes via flexi‐
11 ble mandatory access control.
12
13 The sysadm_passwd processes execute with the sysadm_passwd_t SELinux
14 type. You can check if you have these processes running by executing
15 the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep sysadm_passwd_t
20
21
22
24 The sysadm_passwd_t SELinux type can be entered via the
25 admin_passwd_exec_t file type.
26
27 The default entrypoint paths for the sysadm_passwd_t domain are the
28 following:
29
30 /usr/bin/vigr, /usr/bin/vipw, /usr/sbin/vigr, /usr/sbin/vipw,
31 /usr/sbin/pwconv, /usr/sbin/grpconv, /usr/sbin/pwunconv,
32 /usr/sbin/grpunconv
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 sysadm_passwd policy is very flexible allowing users to setup their
42 sysadm_passwd processes in as secure a method as possible.
43
44 The following process types are defined for sysadm_passwd:
45
46 sysadm_passwd_t
47
48 Note: semanage permissive -a sysadm_passwd_t can be used to make the
49 process type sysadm_passwd_t permissive. SELinux does not deny access
50 to permissive process types, but the AVC (SELinux denials) messages are
51 still generated.
52
53
55 SELinux policy is customizable based on least access required.
56 sysadm_passwd policy is extremely flexible and has several booleans
57 that allow you to manipulate the policy and run sysadm_passwd with the
58 tightest access possible.
59
60
61
62 If you want to allow all domains to use other domains file descriptors,
63 you must turn on the allow_domain_fd_use boolean. Enabled by default.
64
65 setsebool -P allow_domain_fd_use 1
66
67
68
69 If you want to allow confined applications to run with kerberos, you
70 must turn on the allow_kerberos boolean. Enabled by default.
71
72 setsebool -P allow_kerberos 1
73
74
75
76 If you want to allow sysadm to debug or ptrace all processes, you must
77 turn on the allow_ptrace boolean. Disabled by default.
78
79 setsebool -P allow_ptrace 1
80
81
82
83 If you want to allow system to run with NIS, you must turn on the
84 allow_ypbind boolean. Disabled by default.
85
86 setsebool -P allow_ypbind 1
87
88
89
90 If you want to allow all domains to have the kernel load modules, you
91 must turn on the domain_kernel_load_modules boolean. Disabled by
92 default.
93
94 setsebool -P domain_kernel_load_modules 1
95
96
97
98 If you want to allow all domains to execute in fips_mode, you must turn
99 on the fips_mode boolean. Enabled by default.
100
101 setsebool -P fips_mode 1
102
103
104
105 If you want to enable reading of urandom for all domains, you must turn
106 on the global_ssp boolean. Disabled by default.
107
108 setsebool -P global_ssp 1
109
110
111
112 If you want to allow confined applications to use nscd shared memory,
113 you must turn on the nscd_use_shm boolean. Enabled by default.
114
115 setsebool -P nscd_use_shm 1
116
117
118
120 The SELinux process type sysadm_passwd_t can manage files labeled with
121 the following file types. The paths listed are the default paths for
122 these file types. Note the processes UID still need to have DAC per‐
123 missions.
124
125 etc_t
126
127 /etc/.*
128 /var/db/.*.db
129 /usr/etc(/.*)?
130 /var/ftp/etc(/.*)?
131 /usr/local/etc(/.*)?
132 /var/lib/openshift/.limits.d(/.*)?
133 /var/lib/openshift/.openshift-proxy.d(/.*)?
134 /var/lib/openshift/.stickshift-proxy.d(/.*)?
135 /var/lib/stickshift/.limits.d(/.*)?
136 /var/lib/stickshift/.stickshift-proxy.d(/.*)?
137 /var/named/chroot/etc(/.*)?
138 /etc/ipsec.d/examples(/.*)?
139 /var/spool/postfix/etc(/.*)?
140 /etc
141 /etc/cups/client.conf
142
143 initrc_tmp_t
144
145
146 mnt_t
147
148 /mnt(/[^/]*)
149 /mnt(/[^/]*)?
150 /rhev(/[^/]*)?
151 /media(/[^/]*)
152 /media(/[^/]*)?
153 /etc/rhgb(/.*)?
154 /media/.hal-.*
155 /net
156 /afs
157 /rhev
158 /misc
159
160 security_t
161
162
163 shadow_t
164
165 /etc/shadow.*
166 /etc/gshadow.*
167 /var/db/shadow.*
168 /etc/passwd.adjunct.*
169 /etc/.pwd.lock
170 /etc/group.lock
171 /etc/passwd.lock
172
173 sysadm_passwd_tmp_t
174
175
176 tmp_t
177
178 /tmp
179 /usr/tmp
180 /var/tmp
181 /tmp-inst
182 /var/tmp-inst
183 /var/tmp/vi.recover
184
185
187 semanage fcontext can also be used to manipulate default file context
188 mappings.
189
190 semanage permissive can also be used to manipulate whether or not a
191 process type is permissive.
192
193 semanage module can also be used to enable/disable/install/remove pol‐
194 icy modules.
195
196 semanage boolean can also be used to manipulate the booleans
197
198
199 system-config-selinux is a GUI tool available to customize SELinux pol‐
200 icy settings.
201
202
204 This manual page was auto-generated using sepolicy manpage .
205
206
208 selinux(8), sysadm_passwd(8), semanage(8), restorecon(8), chcon(1) ,
209 setsebool(8)
210
211
212
213sysadm_passwd 15-06-03 sysadm_passwd_selinux(8)