1quota_selinux(8)             SELinux Policy quota             quota_selinux(8)
2
3
4

NAME

6       quota_selinux - Security Enhanced Linux Policy for the quota processes
7

DESCRIPTION

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

ENTRYPOINTS

23       The quota_t SELinux type can be entered via the quota_exec_t file type.
24
25       The default entrypoint paths for the quota_t domain are the following:
26
27       /sbin/quota(check|on),    /usr/sbin/quota(check|on),     /usr/sbin/con‐
28       vertquota
29

PROCESS TYPES

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

BOOLEANS

51       SELinux  policy  is customizable based on least access required.  quota
52       policy is extremely flexible and has several booleans that allow you to
53       manipulate the policy and run quota with the tightest access possible.
54
55
56
57       If you want to allow all domains to execute in fips_mode, you must turn
58       on the fips_mode boolean. Enabled by default.
59
60       setsebool -P fips_mode 1
61
62
63

FILE CONTEXTS

65       SELinux requires files to have an extended attribute to define the file
66       type.
67
68       You can see the context of a file using the -Z option to ls
69
70       Policy  governs  the  access  confined  processes  have to these files.
71       SELinux quota policy is very flexible allowing  users  to  setup  their
72       quota processes in as secure a method as possible.
73
74       STANDARD FILE CONTEXT
75
76       SELinux  defines the file context types for the quota, if you wanted to
77       store files with these types in a diffent paths, you  need  to  execute
78       the  semanage  command  to  specify alternate labeling and then use re‐
79       storecon to put the labels on disk.
80
81       semanage  fcontext   -a   -t   quota_nld_var_run_t   '/srv/myquota_con‐
82       tent(/.*)?'
83       restorecon -R -v /srv/myquota_content
84
85       Note:  SELinux  often  uses  regular expressions to specify labels that
86       match multiple files.
87
88       The following file types are defined for quota:
89
90
91
92       quota_db_t
93
94       - Set files with the quota_db_t type, if you want to treat the files as
95       quota database content.
96
97
98       Paths:
99            /a?quota.(user|group),                  /etc/a?quota.(user|group),
100            /var/a?quota.(user|group),             /boot/a?quota.(user|group),
101            /var/spool/(.*/)?a?quota.(user|group),
102            /var/spool/cron/a?quota.(user|group),               /var/lib/open‐
103            shift/a?quota.(user|group),                        /var/lib/stick‐
104            shift/a?quota.(user|group),      /home/[^/]+/a?quota.(user|group),
105            /home/a?quota.(user|group)
106
107
108       quota_exec_t
109
110       -  Set  files  with the quota_exec_t type, if you want to transition an
111       executable to the quota_t domain.
112
113
114       Paths:
115            /sbin/quota(check|on),  /usr/sbin/quota(check|on),  /usr/sbin/con‐
116            vertquota
117
118
119       quota_flag_t
120
121       -  Set files with the quota_flag_t type, if you want to treat the files
122       as quota flag data.
123
124
125
126       quota_nld_exec_t
127
128       - Set files with the quota_nld_exec_t type, if you want  to  transition
129       an executable to the quota_nld_t domain.
130
131
132
133       quota_nld_var_run_t
134
135       - Set files with the quota_nld_var_run_t type, if you want to store the
136       quota nld files under the /run or /var/run directory.
137
138
139
140       Note: File context can be temporarily modified with the chcon  command.
141       If  you want to permanently change the file context you need to use the
142       semanage fcontext command.  This will modify the SELinux labeling data‐
143       base.  You will need to use restorecon to apply the labels.
144
145

COMMANDS

147       semanage  fcontext  can also be used to manipulate default file context
148       mappings.
149
150       semanage permissive can also be used to manipulate  whether  or  not  a
151       process type is permissive.
152
153       semanage  module can also be used to enable/disable/install/remove pol‐
154       icy modules.
155
156       semanage boolean can also be used to manipulate the booleans
157
158
159       system-config-selinux is a GUI tool available to customize SELinux pol‐
160       icy settings.
161
162

AUTHOR

164       This manual page was auto-generated using sepolicy manpage .
165
166

SEE ALSO

168       selinux(8),  quota(8),  semanage(8),  restorecon(8),  chcon(1),  sepol‐
169       icy(8), setsebool(8), quota_nld_selinux(8), quota_nld_selinux(8)
170
171
172
173quota                              21-11-19                   quota_selinux(8)
Impressum