1lsmd_selinux(8) SELinux Policy lsmd lsmd_selinux(8)
2
3
4
6 lsmd_selinux - Security Enhanced Linux Policy for the lsmd processes
7
9 Security-Enhanced Linux secures the lsmd processes via flexible manda‐
10 tory access control.
11
12 The lsmd processes execute with the lsmd_t SELinux type. You can check
13 if you have these processes running by executing the ps command with
14 the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep lsmd_t
19
20
21
23 The lsmd_t SELinux type can be entered via the lsmd_exec_t file type.
24
25 The default entrypoint paths for the lsmd_t domain are the following:
26
27 /usr/bin/lsmd
28
30 SELinux defines process types (domains) for each process running on the
31 system
32
33 You can see the context of a process using the -Z option to ps
34
35 Policy governs the access confined processes have to files. SELinux
36 lsmd policy is very flexible allowing users to setup their lsmd pro‐
37 cesses in as secure a method as possible.
38
39 The following process types are defined for lsmd:
40
41 lsmd_t, lsmd_plugin_t
42
43 Note: semanage permissive -a lsmd_t can be used to make the process
44 type lsmd_t permissive. SELinux does not deny access to permissive
45 process types, but the AVC (SELinux denials) messages are still gener‐
46 ated.
47
48
50 SELinux policy is customizable based on least access required. lsmd
51 policy is extremely flexible and has several booleans that allow you to
52 manipulate the policy and run lsmd with the tightest access possible.
53
54
55
56 If you want to allow users to resolve user passwd entries directly from
57 ldap rather then using a sssd server, you must turn on the authlo‐
58 gin_nsswitch_use_ldap boolean. Disabled by default.
59
60 setsebool -P authlogin_nsswitch_use_ldap 1
61
62
63
64 If you want to allow all domains to execute in fips_mode, you must turn
65 on the fips_mode boolean. Enabled by default.
66
67 setsebool -P fips_mode 1
68
69
70
71 If you want to allow confined applications to run with kerberos, you
72 must turn on the kerberos_enabled boolean. Enabled by default.
73
74 setsebool -P kerberos_enabled 1
75
76
77
78 If you want to allow system to run with NIS, you must turn on the
79 nis_enabled boolean. Disabled by default.
80
81 setsebool -P nis_enabled 1
82
83
84
85 If you want to allow confined applications to use nscd shared memory,
86 you must turn on the nscd_use_shm boolean. Enabled by default.
87
88 setsebool -P nscd_use_shm 1
89
90
91
93 SELinux defines port types to represent TCP and UDP ports.
94
95 You can see the types associated with a port by using the following
96 command:
97
98 semanage port -l
99
100
101 Policy governs the access confined