Red Hat: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
(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:...")
(No difference)

Revision as of 15:01, 18 August 2022

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