1sysadm_passwd_selinux(8) SELinux Policy sysadm_passwd sysadm_passwd_selinux(8)
2
3
4

NAME

6       sysadm_passwd_selinux   -   Security  Enhanced  Linux  Policy  for  the
7       sysadm_passwd processes
8

DESCRIPTION

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

ENTRYPOINTS

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

PROCESS TYPES

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

BOOLEANS

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 users to resolve user passwd entries directly from
63       ldap  rather  then  using  a  sssd server, you must turn on the authlo‐
64       gin_nsswitch_use_ldap boolean. Disabled by default.
65
66       setsebool -P authlogin_nsswitch_use_ldap 1
67
68
69
70       If you want to allow all domains to execute in fips_mode, you must turn
71       on the fips_mode boolean. Enabled by default.
72
73       setsebool -P fips_mode 1
74
75
76
77       If  you  want  to allow confined applications to run with kerberos, you
78       must turn on the kerberos_enabled boolean. Disabled by default.
79
80       setsebool -P kerberos_enabled 1
81
82
83
84       If you want to allow system to run with  NIS,  you  must  turn  on  the
85       nis_enabled boolean. Disabled by default.
86
87       setsebool -P nis_enabled 1
88
89
90
91       If  you  want to allow confined applications to use nscd shared memory,
92       you must turn on the nscd_use_shm boolean. Disabled by default.
93
94       setsebool -P nscd_use_shm 1
95
96
97

MANAGED FILES

99       The SELinux process type sysadm_passwd_t can manage files labeled  with
100       the  following  file types.  The paths listed are the default paths for
101       these file types.  Note the processes UID still need to have  DAC  per‐
102       missions.
103
104       passwd_file_t
105
106            /etc/group[-+]?
107            /etc/passwd[-+]?
108            /etc/passwd.adjunct.*
109            /etc/ptmptmp
110            /etc/.pwd.lock
111            /etc/group.lock
112            /etc/passwd.OLD
113            /etc/passwd.lock
114
115       security_t
116
117            /selinux
118
119       shadow_t
120
121            /etc/shadow.*
122            /etc/gshadow.*
123            /etc/nshadow.*
124            /var/db/shadow.*
125            /etc/security/opasswd
126            /etc/security/opasswd.old
127
128       sysadm_passwd_tmp_t
129
130
131

COMMANDS

133       semanage  fcontext  can also be used to manipulate default file context
134       mappings.
135
136       semanage permissive can also be used to manipulate  whether  or  not  a
137       process type is permissive.
138
139       semanage  module can also be used to enable/disable/install/remove pol‐
140       icy modules.
141
142       semanage boolean can also be used to manipulate the booleans
143
144
145       system-config-selinux is a GUI tool available to customize SELinux pol‐
146       icy settings.
147
148

AUTHOR

150       This manual page was auto-generated using sepolicy manpage .
151
152

SEE ALSO

154       selinux(8),  sysadm_passwd(8),  semanage(8),  restorecon(8),  chcon(1),
155       sepolicy(8), setsebool(8)
156
157
158
159sysadm_passwd                      19-12-02           sysadm_passwd_selinux(8)
Impressum