Red Hat

From I Will Fear No Evil
Revision as of 15:01, 18 August 2022 by Chubbard (talk | contribs) (Created page with "== Red Hat Specific things == Adding in a user that has wheel contexts <pre> as user blah: id uid=1001(blah) gid=1001(blah) groups=1001(blah),10(wheel) context=unconfined_u:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Red Hat Specific things

Adding in a user that has wheel contexts

as user blah:
id 
uid=1001(blah) gid=1001(blah) groups=1001(blah),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

To get to that point:

sudo useradd -Z unconfined_u -G wheel blah
Adding user blah to sudoers file is still necessary outside of this command