News for hackers. Stuff that matters.
Re:SELinux is unmanageable; just turn it off if it gets in y... by dale_glass on Wednesday April 27, 2022 @08:01AM (#31178834)
root is not God under SELinux either. root processes are also confined.
Re:SELinux is unmanageable; just turn it off if it gets in y... by themulticaster on Wednesday April 27, 2022 @08:21AM (#31178993)
Indeed, that's possible and a good idea - as long as you're not talking about user shells [1] running as confined processes. It turns out that having an unconfined root shell is actually not a bad idea unless you're interested in extreme levels of security. My experience is that confining user shells is a significant hassle.

Running daemon processes etc. as confined root on the other hand is a good idea, but if you're going to the trouble of confining a root process you might as well just run it as a normal user instead if that's possible.

[1] Meaning shells used by a real person attached to ssh.