CmdID

CmdID / Commands

chcat

Change SELinux security category for files. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Change SELinux security category for files. Categories provide an additional level of access control based on MCS (Multi-Category Security).

List all available categories

sudo chcat --listIdentify

Add a category to a file

sudo chcat +CategoryName path/to/fileIdentify

Remove a category from a file

sudo chcat -- -CategoryName path/to/fileIdentify

Set specific categories for a file (replacing existing ones)

sudo chcat CategoryName1,CategoryName2,... path/to/fileIdentify

Display the categories of a file

ls --context path/to/fileIdentify

Remove all categories from a file

sudo chcat --delete path/to/fileIdentify