(How to ) Change the context of user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
  * I'm facing a problem while changing the context of root user in selinux, Selinux is in enforced and targeted policy. By default Selinux assign user =>"unconfined_u:unconfiend_r:unconfined_t:" 
context for the user i have changed the selinux mapped root user "unconifined_u" into "system_u" for root user with the help of command 
=>"semanage login -a -s system_u root" 
after executing this command the root user context is changed into "system_u:unconfined_r:unconfined_t:".

* Now i have changed the root user role and domain type so i execute this command 
=>"newrole -r system_r -t initrc_t:" 
and change the root user context into "system_u:system_r:initrc_t:" but this change is temporary after rebooting the system the context of root user is changed back to "system_u:unconfined_r:unconfined_t:"

* what i need is to change the root user context permanently into "system_u:system_r:initrc_t:".

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux