1cronjob_selinux(8)          SELinux Policy cronjob          cronjob_selinux(8)
2
3
4

NAME

6       cronjob_selinux  -  Security Enhanced Linux Policy for the cronjob pro‐
7       cesses
8

DESCRIPTION

10       Security-Enhanced Linux secures  the  cronjob  processes  via  flexible
11       mandatory access control.
12
13       The  cronjob processes execute with the cronjob_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 cronjob_t
20
21
22

ENTRYPOINTS

24       The  cronjob_t  SELinux  type can be entered via the user_cron_spool_t,
25       shell_exec_t file types.
26
27       The default entrypoint paths for the cronjob_t domain are  the  follow‐
28       ing:
29
30       /var/spool/at(/.*)?,     /var/spool/cron,    /bin/d?ash,    /bin/ksh.*,
31       /bin/zsh.*, /usr/bin/d?ash, /usr/bin/ksh.*,  /usr/bin/zsh.*,  /bin/esh,
32       /bin/bash,   /bin/fish,  /bin/mksh,  /bin/sash,  /bin/tcsh,  /bin/yash,
33       /bin/bash2, /usr/bin/esh, /sbin/nologin, /usr/bin/bash,  /usr/bin/fish,
34       /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,     /usr/bin/yash,
35       /usr/bin/bash2,  /usr/sbin/sesh,   /usr/sbin/smrsh,   /usr/bin/scponly,
36       /usr/libexec/sesh,        /usr/sbin/nologin,        /usr/bin/git-shell,
37       /usr/sbin/scponlyc,  /usr/libexec/sudo/sesh,   /usr/bin/cockpit-bridge,
38       /usr/libexec/cockpit-agent, /usr/libexec/git-core/git-shell
39

PROCESS TYPES

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

BOOLEANS

61       SELinux policy is customizable based on least access required.  cronjob
62       policy is extremely flexible and has several booleans that allow you to
63       manipulate  the  policy and run cronjob with the tightest access possi‐
64       ble.
65
66
67
68       If you want to allow all domains to execute in fips_mode, you must turn
69       on the fips_mode boolean. Enabled by default.
70
71       setsebool -P fips_mode 1
72
73
74
75       If  you  want  to  allow  system  to run with NIS, you must turn on the
76       nis_enabled boolean. Disabled by default.
77
78       setsebool -P nis_enabled 1
79
80
81

MANAGED FILES

83       The SELinux process type cronjob_t can manage files  labeled  with  the
84       following file types.  The paths listed are the default paths for these
85       file types.  Note the processes UID still need to have DAC permissions.
86
87       user_home_t
88
89            /home/[^/]+/.+
90
91       user_tmp_t
92
93            /dev/shm/mono.*
94            /var/run/user(/.*)?
95            /tmp/.ICE-unix(/.*)?
96            /tmp/.X11-unix(/.*)?
97            /dev/shm/pulse-shm.*
98            /tmp/.X0-lock
99            /tmp/hsperfdata_root
100            /var/tmp/hsperfdata_root
101            /home/[^/]+/tmp
102            /home/[^/]+/.tmp
103            /tmp/gconfd-[^/]+
104
105

COMMANDS

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

AUTHOR

124       This manual page was auto-generated using sepolicy manpage .
125
126

SEE ALSO

128       selinux(8), cronjob(8), semanage(8),  restorecon(8),  chcon(1),  sepol‐
129       icy(8), setsebool(8)
130
131
132
133cronjob                            19-10-08                 cronjob_selinux(8)
Impressum