Debian Codegraph @

python/chcat/chcat.8

raw
1 .TH CHCAT "8" "September 2005" "chcat" "User Commands"
2 .SH NAME
3 chcat \- change file SELinux security category
4 .SH SYNOPSIS
5 .B chcat
6 \fIcategory file\fR...
7 .br
8 .B chcat -l
9 \fIcategory user\fR...
10 .br
11 .B chcat
12 \fI[[+|-]category...] file\fR...
13 .br
14 .B chcat -l
15 \fI[[+|-]category...] user\fR...
16 .br
17 .B chcat
18 [\fI-d\fR] \fIfile\fR...
19 .br
20 .B chcat -l
21 [\fI-d\fR] \fIuser\fR...
22 .br
23 .B chcat
24 \fI-L\fR [ \-l ] [ user ... ]
25 .br
26 .SH DESCRIPTION
27 .PP
28 Change/Remove the security \fIcategory\fR for each \fIfile\fR or \fIuser\fR.
29 .PP
30 Use +/- to add/remove categories from a \fIfile\fR or \fIuser\fR.
31 .PP
32 .B
33 Note:
34 When removing a category you must specify '\-\-' on the command line before using the \-Category syntax. This tells the command that you have finished entering options and are now specifying a category name instead.
35
36 .TP
37 \fB\-d\fR
38 delete the category from each FILE/USER.
39 .TP
40 \fB\-L\fR
41 list available categories.
42 .TP
43 \fB\-l\fR
44 Tells chcat to operate on users instead of files.
45 .SH "SEE ALSO"
46 .TP
47 chcon(1), selinux(8), semanage(8)
48 .PP
49 .br
50 When operating on files this script wraps the chcon command.
51 .SH "FILES"
52 /etc/selinux/{SELINUXTYPE}/setrans.conf
53 .br
54 /etc/selinux/{SELINUXTYPE}/seusers
55