Red Hat

From I Will Fear No Evil
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