TLDR
Enter a command. For example: ufw, medusa, nixos rebuild, speedometer.

runcon

 
Run a program in a different SELinux security context. With neither context nor command, print the current security context. More information: https://www.gnu.org/software/coreutils/runcon.
 
  • Determine the current domain:
     
    runcon
     
  • Specify the domain to run a command in:
     
    runcon -t {{domain}}_t {{command}}
     
  • Specify the context role to run a command with:
     
    runcon -r {{role}}_r {{command}}
     
  • Specify the full context to run a command with:
     
    runcon {{user}}_u:{{role}}_r:{{domain}}_t {{command}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.