1rpm_script_selinux(8)      SELinux Policy rpm_script     rpm_script_selinux(8)
2
3
4

NAME

6       rpm_script_selinux  - Security Enhanced Linux Policy for the rpm_script
7       processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The   rpm_script_t   SELinux   type  can  be  entered  via  the  bin_t,
25       shell_exec_t, usr_t, ldconfig_exec_t file types.
26
27       The default entrypoint paths for the rpm_script_t domain are  the  fol‐
28       lowing:
29
30       All  executables  with  the default executable label, usually stored in
31       /usr/bin   and   /usr/sbin.    /bin/d?ash,   /bin/ksh.*,    /bin/zsh.*,
32       /usr/bin/d?ash,  /usr/bin/ksh.*,  /usr/bin/zsh.*,  /bin/esh, /bin/bash,
33       /bin/fish,  /bin/mksh,  /bin/sash,  /bin/tcsh,  /bin/yash,  /bin/bash2,
34       /usr/bin/esh,      /sbin/nologin,     /usr/bin/bash,     /usr/bin/fish,
35       /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,     /usr/bin/yash,
36       /usr/bin/bash2,   /usr/sbin/sesh,   /usr/sbin/smrsh,  /usr/bin/scponly,
37       /usr/libexec/sesh,        /usr/sbin/nologin,        /usr/bin/git-shell,
38       /usr/sbin/scponlyc,   /usr/libexec/sudo/sesh,  /usr/bin/cockpit-bridge,
39       /usr/libexec/cockpit-agent,  /usr/libexec/git-core/git-shell,  /opt/.*,
40       /usr/.*,         /emul/.*,         /export(/.*)?,        /ostree(/.*)?,
41       /usr/doc(/.*)?/lib(/.*)?,   /usr/inclu.e(/.*)?,   /usr/share/rpm(/.*)?,
42       /usr/share/doc(/.*)?/README.*,           /usr/lib/modules(/.*)/vmlinuz,
43       /usr/lib/modules(/.*)/initramfs.img,           /usr/lib/sysimage(/.*)?,
44       /usr/lib/ostree-boot(/.*)?,     /opt,     /usr,    /emul,    /sbin/sln,
45       /usr/sbin/sln, /sbin/ldconfig, /usr/sbin/ldconfig
46

PROCESS TYPES

48       SELinux defines process types (domains) for each process running on the
49       system
50
51       You can see the context of a process using the -Z option to ps
52
53       Policy  governs  the  access confined processes have to files.  SELinux
54       rpm_script policy is  very  flexible  allowing  users  to  setup  their
55       rpm_script processes in as secure a method as possible.
56
57       The following process types are defined for rpm_script:
58
59       rpm_script_t
60
61       Note:  semanage  permissive  -a  rpm_script_t  can  be used to make the
62       process type rpm_script_t permissive. SELinux does not deny  access  to
63       permissive  process  types,  but the AVC (SELinux denials) messages are
64       still generated.
65
66

BOOLEANS

68       SELinux  policy  is  customizable  based  on  least  access   required.
69       rpm_script  policy  is extremely flexible and has several booleans that
70       allow you to manipulate the policy and run rpm_script with the tightest
71       access possible.
72
73
74
75       If  you  want  to control the ability to mmap a low area of the address
76       space, as configured by /proc/sys/vm/mmap_min_addr, you  must  turn  on
77       the mmap_low_allowed boolean. Disabled by default.
78
79       setsebool -P mmap_low_allowed 1
80
81
82
83       If  you want to disable kernel module loading, you must turn on the se‐
84       cure_mode_insmod boolean. Enabled by default.
85
86       setsebool -P secure_mode_insmod 1
87
88
89
90       If you want to allow unconfined executables to make their  heap  memory
91       executable.   Doing  this  is  a  really bad idea. Probably indicates a
92       badly coded executable, but could indicate an attack.  This  executable
93       should  be  reported  in bugzilla, you must turn on the selinuxuser_ex‐
94       echeap boolean. Disabled by default.
95
96       setsebool -P selinuxuser_execheap 1
97
98
99

MANAGED FILES

101       The SELinux process type rpm_script_t can manage files labeled with the
102       following file types.  The paths listed are the default paths for these
103       file types.  Note the processes UID still need to have DAC permissions.
104
105       file_type
106
107            all files on the system
108
109

COMMANDS

111       semanage fcontext can also be used to manipulate default  file  context
112       mappings.
113
114       semanage  permissive  can  also  be used to manipulate whether or not a
115       process type is permissive.
116
117       semanage module can also be used to enable/disable/install/remove  pol‐
118       icy modules.
119
120       semanage boolean can also be used to manipulate the booleans
121
122
123       system-config-selinux is a GUI tool available to customize SELinux pol‐
124       icy settings.
125
126

AUTHOR

128       This manual page was auto-generated using sepolicy manpage .
129
130

SEE ALSO

132       selinux(8), rpm_script(8), semanage(8), restorecon(8), chcon(1), sepol‐
133       icy(8), setsebool(8)
134
135
136
137rpm_script                         23-02-03              rpm_script_selinux(8)
Impressum