1cdrecord_selinux(8)         SELinux Policy cdrecord        cdrecord_selinux(8)
2
3
4

NAME

6       cdrecord_selinux - Security Enhanced Linux Policy for the cdrecord pro‐
7       cesses
8

DESCRIPTION

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

ENTRYPOINTS

24       The cdrecord_t SELinux type can be entered via the cdrecord_exec_t file
25       type.
26
27       The default entrypoint paths for the cdrecord_t domain are the  follow‐
28       ing:
29
30       /usr/bin/wodim, /usr/bin/cdrecord, /usr/bin/growisofs
31

PROCESS TYPES

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

BOOLEANS

53       SELinux   policy  is  customizable  based  on  least  access  required.
54       cdrecord policy is extremely flexible and has several booleans that al‐
55       low you to manipulate the policy and run cdrecord with the tightest ac‐
56       cess possible.
57
58
59
60       If you want to determine whether cdrecord  can  read  various  content.
61       nfs,  samba,  removable devices, user temp and untrusted content files,
62       you must turn on the cdrecord_read_content  boolean.  Disabled  by  de‐
63       fault.
64
65       setsebool -P cdrecord_read_content 1
66
67
68
69       If you want to allow all domains to execute in fips_mode, you must turn
70       on the fips_mode boolean. Enabled by default.
71
72       setsebool -P fips_mode 1
73
74
75
76       If you want to support NFS home  directories,  you  must  turn  on  the
77       use_nfs_home_dirs boolean. Disabled by default.
78
79       setsebool -P use_nfs_home_dirs 1
80
81
82
83       If  you  want  to  support SAMBA home directories, you must turn on the
84       use_samba_home_dirs boolean. Disabled by default.
85
86       setsebool -P use_samba_home_dirs 1
87
88
89

MANAGED FILES

91       The SELinux process type cdrecord_t can manage files labeled  with  the
92       following file types.  The paths listed are the default paths for these
93       file types.  Note the processes UID still need to have DAC permissions.
94
95       cifs_t
96
97
98       ecryptfs_t
99
100            /home/[^/]+/.Private(/.*)?
101            /home/[^/]+/.ecryptfs(/.*)?
102
103       fusefs_t
104
105            /var/run/user/[0-9]+/gvfs
106
107       nfs_t
108
109
110

FILE CONTEXTS

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

COMMANDS

155       semanage  fcontext  can also be used to manipulate default file context
156       mappings.
157
158       semanage permissive can also be used to manipulate  whether  or  not  a
159       process type is permissive.
160
161       semanage  module can also be used to enable/disable/install/remove pol‐
162       icy modules.
163
164       semanage boolean can also be used to manipulate the booleans
165
166
167       system-config-selinux is a GUI tool available to customize SELinux pol‐
168       icy settings.
169
170

AUTHOR

172       This manual page was auto-generated using sepolicy manpage .
173
174

SEE ALSO

176       selinux(8),  cdrecord(8),  semanage(8), restorecon(8), chcon(1), sepol‐
177       icy(8), setsebool(8)
178
179
180
181cdrecord                           23-10-20                cdrecord_selinux(8)
Impressum