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, usr_t, ld‐
25       config_exec_t, shell_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.   /opt/.*,  /usr/.*,  /emul/.*,  /export(/.*)?,
32       /ostree(/.*)?,       /usr/doc(/.*)?/lib(/.*)?,      /usr/inclu.e(/.*)?,
33       /usr/share/rpm(/.*)?,   /usr/share/doc(/.*)?/README.*,    /usr/lib/mod‐
34       ules(/.*)/vmlinuz, /usr/lib/modules(/.*)/initramfs.img, /usr/lib/sysim‐
35       age(/.*)?, /usr/lib/ostree-boot(/.*)?, /opt,  /usr,  /emul,  /sbin/sln,
36       /usr/sbin/sln,    /sbin/ldconfig,    /usr/sbin/ldconfig,    /bin/d?ash,
37       /bin/ksh.*, /bin/zsh.*, /usr/bin/d?ash, /usr/bin/ksh.*, /usr/bin/zsh.*,
38       /bin/esh,   /bin/bash,   /bin/fish,  /bin/mksh,  /bin/sash,  /bin/tcsh,
39       /bin/yash,  /bin/bash2,  /usr/bin/esh,  /sbin/nologin,   /usr/bin/bash,
40       /usr/bin/fish,     /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,
41       /usr/bin/yash,   /usr/bin/bash2,    /usr/sbin/sesh,    /usr/sbin/smrsh,
42       /usr/bin/scponly,  /usr/libexec/sesh,  /usr/sbin/nologin, /usr/bin/git-
43       shell,  /usr/sbin/scponlyc,  /usr/libexec/sudo/sesh,  /usr/bin/cockpit-
44       bridge, /usr/libexec/cockpit-agent, /usr/libexec/git-core/git-shell
45

PROCESS TYPES

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

BOOLEANS

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

MANAGED FILES

107       The SELinux process type rpm_script_t can manage files labeled with the
108       following file types.  The paths listed are the default paths for these
109       file types.  Note the processes UID still need to have DAC permissions.
110
111       file_type
112
113            all files on the system
114
115

COMMANDS

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

AUTHOR

134       This manual page was auto-generated using sepolicy manpage .
135
136

SEE ALSO

138       selinux(8), rpm_script(8), semanage(8), restorecon(8), chcon(1), sepol‐
139       icy(8), setsebool(8)
140
141
142
143rpm_script                         23-12-15              rpm_script_selinux(8)
Impressum