selinuxdefcon(1)

✨ NAME ✨

selinuxdefcon β€” bestie, this one reports the default SELinux context for a user πŸ’–

(also, hi, welcome to the SELinux Command Line documentation, we're doing this together 🫢)


🌸 SYNOPSIS 🌸

selinuxdefcon [-l level] user fromcon

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: selinuxdefcon reports the default context for the user you name, starting from the context you hand it. That's it. That's the whole vibe. πŸ‘‘

  • -l level β€” the mcs/mls level. give it a level, that's the level. slay. ✨

πŸ¦‹ EXAMPLE πŸ¦‹

like, watch this:

# selinuxdefcon jsmith system_u:system_r:sshd_t:s0
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

you put in the user + the context you're coming from, it hands you back the default context. no cap, it's giving effortless. πŸ’–


πŸŽ€ AUTHOR πŸŽ€

This manual page was written by Dan Walsh <dwalsh@redhat.com>. iconic behavior fr fr 🌈


πŸ”₯ SEE ALSO πŸ”₯


okay bestie that's the whole page, mwah πŸ’‹ shoutout to dwalsh@redhat.com, dropped on 7 May 2008, living inside selinuxdefcon(1) forever and ever. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from