logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Control SELinux Context - View Security Context | Online Free DevTools by Hexmos

Control SELinux context instantly with secon. View security attributes of processes and files, and parse SELinux context strings with this free online tool, no registration required.

secon

Get the SELinux security context of a file, pid, current execution context, or a context specification. See also: semanage, runcon, chcon. More information: https://manned.org/secon.

  • Get the security context of the current execution context:

secon

  • Get the current security context of a process:

secon --pid {{1}}

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

secon --file {{path/to/file_or_directory}}

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

secon --link {{path/to/symlink}}

  • Parse and explain a context specification:

secon {{system_u:system_r:container_t:s0:c899,c900}}

See Also