CmdID

CmdID / Commands

secon

Get the SELinux security context of a file, pid, current execution context, or a context specification. tldr-pages

On Linux

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

Get the security context of the current execution context

Get the current security context of a process

secon --pid 1Identify

Get the current security context of a file, resolving all intermediate symlinks

secon --file path/to/file_or_directoryIdentify

Get the current security context of a symlink itself (i.e. do not resolve)

secon --link path/to/symlinkIdentify

Parse and explain a context specification

secon system_u:system_r:container_t:s0:c899,c900Identify