1CHCAT(8)                         User Commands                        CHCAT(8)
2
3
4

NAME

6       chcat - change file SELinux security category
7

SYNOPSIS

9       chcat category file...
10       chcat -l category user...
11       chcat [[+|-]category...]  file...
12       chcat -l [[+|-]category...]  user...
13       chcat [-d] file...
14       chcat -l [-d] user...
15       chcat -L [ -l ] [ user ... ]
16

DESCRIPTION

18       Change/Remove the security category for each file or user.
19
20       Use +/- to add/remove categories from a file or user.
21
22       Note:  When  removing  a  category you must specify '--' on the command
23       line before using the -Category syntax.  This tells  the  command  that
24       you  have  finished  entering options and are now specifying a category
25       name instead.
26
27
28       -d     delete the category from each FILE/USER.
29
30       -L     list available categories.
31
32       -l     Tells chcat to operate on users instead of files.
33

SEE ALSO

35       chcon(1), selinux(8), semanage(8)
36
37       When operating on files this script wraps the chcon command.
38

FILES

40       /etc/selinux/{SELINUXTYPE}/setrans.conf
41       /etc/selinux/{SELINUXTYPE}/seusers
42
43
44
45
46chcat                           September 2005                        CHCAT(8)
Impressum