doskanoness n00b
Joined: 06 Oct 2021 Posts: 45
|
Posted: Wed Dec 22, 2021 5:50 pm Post subject: Question about SELinux |
|
|
Hey,
I have a question related to SELinux. Do I have to execute `newrole -r sysadm_r` every time I want to perform administrative tasks like emerging packages?
I have configured Gentoo to work with SELinux and executed before below commands:
Code: | root # semanage user -m -R "staff_r sysadm_r system_r" root
root # semanage user -m -R "staff_r sysadm_r system_r" staff_u
|
I have basically followed all steps on the https://wiki.gentoo.org/wiki/SELinux/Installation#Define_the_administrator_accounts and SELinux seems to be working properly.
Thanks |
|