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:...")
 
 
Line 14: Line 14:
</pre>
</pre>


[[ Category: RedHat]]
[[ Category: RHEL]]

Latest revision as of 19:29, 17 May 2023

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