1chkpwd_selinux(8)            SELinux Policy chkpwd           chkpwd_selinux(8)
2
3
4

NAME

6       chkpwd_selinux  -  Security  Enhanced  Linux Policy for the chkpwd pro‐
7       cesses
8

DESCRIPTION

10       Security-Enhanced Linux  secures  the  chkpwd  processes  via  flexible
11       mandatory access control.
12
13       The  chkpwd  processes  execute with the chkpwd_t SELinux type. You can
14       check if you have these processes running by executing the  ps  command
15       with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep chkpwd_t
20
21
22

ENTRYPOINTS

24       The  chkpwd_t  SELinux  type  can be entered via the chkpwd_exec_t file
25       type.
26
27       The default entrypoint paths for the chkpwd_t domain are the following:
28
29       /sbin/unix_chkpwd,        /sbin/unix_verify,        /usr/sbin/validate,
30       /usr/sbin/unix_chkpwd, /usr/sbin/unix_verify
31

PROCESS TYPES

33       SELinux defines process types (domains) for each process running on the
34       system
35
36       You can see the context of a process using the -Z option to ps
37
38       Policy governs the access confined processes have  to  files.   SELinux
39       chkpwd  policy  is  very  flexible allowing users to setup their chkpwd
40       processes in as secure a method as possible.
41
42       The following process types are defined for chkpwd:
43
44       chkpwd_t
45
46       Note: semanage permissive -a chkpwd_t can be used to make  the  process
47       type  chkpwd_t  permissive.  SELinux does not deny access to permissive
48       process types, but the AVC (SELinux denials) messages are still  gener‐
49       ated.
50
51

BOOLEANS

53       SELinux  policy is customizable based on least access required.  chkpwd
54       policy is extremely flexible and has several booleans that allow you to
55       manipulate the policy and run chkpwd with the tightest access possible.
56
57
58
59       If you want to allow all domains to execute in fips_mode, you must turn
60       on the fips_mode boolean. Enabled by default.
61
62       setsebool -P fips_mode 1
63
64
65
66       If you want to allow Apache to use mod_auth_pam, you must turn  on  the
67       httpd_mod_auth_pam boolean. Disabled by default.
68
69       setsebool -P httpd_mod_auth_pam 1
70
71
72
73       If  you want to allow nagios/nrpe to call sudo from NRPE utils scripts,
74       you must turn on the nagios_run_sudo boolean. Disabled by default.
75
76       setsebool -P nagios_run_sudo 1
77
78
79
80       If you want to allow system to run with  NIS,  you  must  turn  on  the
81       nis_enabled boolean. Disabled by default.
82
83       setsebool -P nis_enabled 1
84
85
86

MANAGED FILES

88       The  SELinux  process  type  chkpwd_t can manage files labeled with the
89       following file types.  The paths listed are the default paths for these
90       file types.  Note the processes UID still need to have DAC permissions.
91
92       krb5_host_rcache_t
93
94            /var/tmp/krb5_0.rcache2
95            /var/cache/krb5rcache(/.*)?
96            /var/tmp/nfs_0
97            /var/tmp/DNS_25
98            /var/tmp/host_0
99            /var/tmp/imap_0
100            /var/tmp/HTTP_23
101            /var/tmp/HTTP_48
102            /var/tmp/ldap_55
103            /var/tmp/ldap_487
104            /var/tmp/ldapmap1_0
105
106

FILE CONTEXTS

108       SELinux requires files to have an extended attribute to define the file
109       type.
110
111       You can see the context of a file using the -Z option to ls
112
113       Policy governs the access  confined  processes  have  to  these  files.
114       SELinux  chkpwd  policy  is very flexible allowing users to setup their
115       chkpwd processes in as secure a method as possible.
116
117       The following file types are defined for chkpwd:
118
119
120
121       chkpwd_exec_t
122
123       - Set files with the chkpwd_exec_t type, if you want to  transition  an
124       executable to the chkpwd_t domain.
125
126
127       Paths:
128            /sbin/unix_chkpwd,      /sbin/unix_verify,     /usr/sbin/validate,
129            /usr/sbin/unix_chkpwd, /usr/sbin/unix_verify
130
131
132       Note: File context can be temporarily modified with the chcon  command.
133       If  you want to permanently change the file context you need to use the
134       semanage fcontext command.  This will modify the SELinux labeling data‐
135       base.  You will need to use restorecon to apply the labels.
136
137

COMMANDS

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

AUTHOR

156       This manual page was auto-generated using sepolicy manpage .
157
158

SEE ALSO

160       selinux(8),  chkpwd(8),  semanage(8),  restorecon(8),  chcon(1), sepol‐
161       icy(8), setsebool(8)
162
163
164
165chkpwd                             21-06-09                  chkpwd_selinux(8)
Impressum