Qwery Regarding Selinux Change Id Context

Home » CentOS » Qwery Regarding Selinux Change Id Context
CentOS No Comments

Hi All,

Thanks for the information.

But after resetting the semanage User/login, and moving the targeted folder to old one and then install the default target. then also its still showing the Id context as context=*system_u:system_r:unconfined_t:s0-s0:c0.c1023.*

*What I observed is after changing the permission using semanage command also, its still showing the system_u:system_r. *

*Check the semanage login/User output :*

*semanage login -l*

*Login Name SELinux User MLS/MCS Range Service*

*__default__ unconfined_u s0-s0:c0.c1023 **
*root unconfined_u s0-s0:c0.c1023 **
*system_u system_u s0-s0:c0.c1023 **

*semanage user -l*

* Labeling MLS/ MLS/ *
*SELinux User Prefix MCS Level MCS Range SELinux Roles*

*guest_u user s0 s0
guest_r*
*root user s0 s0-s0:c0.c1023
staff_r sysadm_r system_r unconfined_r*
*staff_u user s0 s0-s0:c0.c1023
staff_r sysadm_r system_r unconfined_r*
*sysadm_u user s0 s0-s0:c0.c1023
sysadm_r*
*system_u user s0 s0-s0:c0.c1023
system_r unconfined_r*
*unconfined_u user s0 s0-s0:c0.c1023
system_r unconfined_r*
*user_u user s0 s0
user_r*
*xguest_u user s0 s0
xguest_r*

Looks like its related to some other issue. What you think about this.

Thanks Aman