Hi Ravi,
Thanks for your reply but SSH and Sysadm_login is already enabled.
Actually I need to change the root context from*System_u:system_r:unconfined_t
to sysadm_u:sysadm_r or **unconfined_u:**unconfined_r**.*
*I found one command (**runcon
Based on the config each type of login ( ssh ,shell ) will have it own
role . if this is just for testing you can try setting the bool value if
you are logging via ssh.
setsebool -P ssh_sysadm_login 1
Regards,
Ravi
On Fri, Nov 24, 2017 at 10:47 AM, Aman Sharma
Hi All,
Currently Working on Cent OS 7.3 and login as a root User and my Id command
output is :
*id*
*uid=0(root) gid=0(root) groups=0(root)
context=system_u:system_r:unconfined_t:s0-s0:c0.c1023*
I want to change *System_u:system_r:unconfined_t to sysadm_u:sysadm_r or *