1portmap_helper_selinux(8)SELinux Policy portmap_helperportmap_helper_selinux(8)
2
3
4

NAME

6       portmap_helper_selinux   -  Security  Enhanced  Linux  Policy  for  the
7       portmap_helper processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the portmap_helper processes via flexi‐
11       ble mandatory access control.
12
13       The  portmap_helper processes execute with the portmap_helper_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 portmap_helper_t
20
21
22

ENTRYPOINTS

24       The   portmap_helper_t   SELinux   type   can   be   entered   via  the
25       portmap_helper_exec_t file type.
26
27       The default entrypoint paths for the portmap_helper_t  domain  are  the
28       following:
29
30       /sbin/pmap_set,           /sbin/pmap_dump,          /usr/sbin/pmap_set,
31       /usr/sbin/pmap_dump
32

PROCESS TYPES

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

BOOLEANS

54       SELinux  policy  is  customizable  based  on  least  access   required.
55       portmap_helper  policy  is  extremely flexible and has several booleans
56       that allow you to manipulate the policy and run portmap_helper with the
57       tightest access possible.
58
59
60
61       If you want to allow all domains to execute in fips_mode, you must turn
62       on the fips_mode boolean. Enabled by default.
63
64       setsebool -P fips_mode 1
65
66
67
68       If you want to allow system to run with  NIS,  you  must  turn  on  the
69       nis_enabled boolean. Disabled by default.
70
71       setsebool -P nis_enabled 1
72
73
74

MANAGED FILES

76       The SELinux process type portmap_helper_t can manage files labeled with
77       the following file types.  The paths listed are the default  paths  for
78       these  file  types.  Note the processes UID still need to have DAC per‐
79       missions.
80
81       initrc_var_run_t
82
83            /var/run/utmp
84            /var/run/random-seed
85            /var/run/runlevel.dir
86            /var/run/setmixer_flag
87
88       krb5_host_rcache_t
89
90            /var/tmp/krb5_0.rcache2
91            /var/cache/krb5rcache(/.*)?
92            /var/tmp/nfs_0
93            /var/tmp/DNS_25
94            /var/tmp/host_0
95            /var/tmp/imap_0
96            /var/tmp/HTTP_23
97            /var/tmp/HTTP_48
98            /var/tmp/ldap_55
99            /var/tmp/ldap_487
100            /var/tmp/ldapmap1_0
101
102       portmap_var_run_t
103
104            /var/run/portmap_mapping
105            /var/run/portmap.upgrade-state
106
107       var_run_t
108
109            /run/.*
110            /var/run/.*
111            /run
112            /var/run
113            /var/run
114            /var/spool/postfix/pid
115
116

FILE CONTEXTS

118       SELinux requires files to have an extended attribute to define the file
119       type.
120
121       You can see the context of a file using the -Z option to ls
122
123       Policy  governs  the  access  confined  processes  have to these files.
124       SELinux portmap_helper policy is very flexible allowing users to  setup
125       their portmap_helper processes in as secure a method as possible.
126
127       STANDARD FILE CONTEXT
128
129       SELinux  defines  the file context types for the portmap_helper, if you
130       wanted to store files with these types in a different paths,  you  need
131       to  execute the semanage command to specify alternate labeling and then
132       use restorecon to put the labels on disk.
133
134       semanage fcontext -a -t portmap_helper_exec_t '/srv/portmap_helper/con‐
135       tent(/.*)?'
136       restorecon -R -v /srv/myportmap_helper_content
137
138       Note:  SELinux  often  uses  regular expressions to specify labels that
139       match multiple files.
140
141       The following file types are defined for portmap_helper:
142
143
144
145       portmap_helper_exec_t
146
147       - Set files with the portmap_helper_exec_t type, if you want to transi‐
148       tion an executable to the portmap_helper_t domain.
149
150
151       Paths:
152            /sbin/pmap_set,        /sbin/pmap_dump,        /usr/sbin/pmap_set,
153            /usr/sbin/pmap_dump
154
155
156       Note: File context can be temporarily modified with the chcon  command.
157       If  you want to permanently change the file context you need to use the
158       semanage fcontext command.  This will modify the SELinux labeling data‐
159       base.  You will need to use restorecon to apply the labels.
160
161

COMMANDS

163       semanage  fcontext  can also be used to manipulate default file context
164       mappings.
165
166       semanage permissive can also be used to manipulate  whether  or  not  a
167       process type is permissive.
168
169       semanage  module can also be used to enable/disable/install/remove pol‐
170       icy modules.
171
172       semanage boolean can also be used to manipulate the booleans
173
174
175       system-config-selinux is a GUI tool available to customize SELinux pol‐
176       icy settings.
177
178

AUTHOR

180       This manual page was auto-generated using sepolicy manpage .
181
182

SEE ALSO

184       selinux(8),  portmap_helper(8),  semanage(8),  restorecon(8), chcon(1),
185       sepolicy(8), setsebool(8)
186
187
188
189portmap_helper                     23-10-20          portmap_helper_selinux(8)
Impressum