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 different 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_exec_t '/srv/quota/content(/.*)?'
82       restorecon -R -v /srv/myquota_content
83
84       Note: SELinux often uses regular expressions  to  specify  labels  that
85       match multiple files.
86
87       The following file types are defined for quota:
88
89
90
91       quota_db_t
92
93       - Set files with the quota_db_t type, if you want to treat the files as
94       quota database content.
95
96
97       Paths:
98            /a?quota.(user|group),                  /etc/a?quota.(user|group),
99            /var/a?quota.(user|group),             /boot/a?quota.(user|group),
100            /var/spool/(.*/)?a?quota.(user|group),
101            /var/spool/cron/a?quota.(user|group),               /var/lib/open‐
102            shift/a?quota.(user|group),                        /var/lib/stick‐
103            shift/a?quota.(user|group),      /home/[^/]+/a?quota.(user|group),
104            /home/a?quota.(user|group)
105
106
107       quota_exec_t
108
109       - Set files with the quota_exec_t type, if you want  to  transition  an
110       executable to the quota_t domain.
111
112
113       Paths:
114            /sbin/quota(check|on),  /usr/sbin/quota(check|on),  /usr/sbin/con‐
115            vertquota
116
117
118       quota_flag_t
119
120       - Set files with the quota_flag_t type, if you want to treat the  files
121       as quota flag data.
122
123
124
125       quota_nld_exec_t
126
127       -  Set  files with the quota_nld_exec_t type, if you want to transition
128       an executable to the quota_nld_t domain.
129
130
131
132       quota_nld_var_run_t
133
134       - Set files with the quota_nld_var_run_t type, if you want to store the
135       quota nld files under the /run or /var/run directory.
136
137
138
139       Note:  File context can be temporarily modified with the chcon command.
140       If you want to permanently change the file context you need to use  the
141       semanage fcontext command.  This will modify the SELinux labeling data‐
142       base.  You will need to use restorecon to apply the labels.
143
144

COMMANDS

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

AUTHOR

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

SEE ALSO

167       selinux(8),  quota(8),  semanage(8),  restorecon(8),  chcon(1),  sepol‐
168       icy(8), setsebool(8), quota_nld_selinux(8), quota_nld_selinux(8)
169
170
171
172quota                              23-10-20                   quota_selinux(8)
Impressum