RE: Linux Beginners? Bug me! 03-31-2014, 04:11 PM
#11
(03-31-2014, 04:02 PM)roger_smith Wrote: SELinux is great....when you can get it working right, lol. It's somewhat difficult to administer at first, but once you get the hang of it it's not too bad. There's way to make it fix itself, which 9/10 times is a safe thing to do and won't break things. but boy, that 1/10 when it does break stuff... hold on.
The nice thing w/ SELinux is you can set it to enforcing or permitting on the fly, so if something is broken, you can just set to permissive mode while troubleshooting the problem and it will continue logging the exception without actually impeding functionality. Be warned though, DISABLING SELinux (different from permissive mode) requires a FSCK and can take a long time since it has to go thru and analyze each. individual. file.
What about the actual policy administration? Is it troublesome?
I've seen so many systems that will allow a user to hop from a restricted role (HTTP daemon for example) to unconfined_u:unconfined_r:unconfined_t: s0 just by writing out an SSH public key to ~/.ssh/authorized_keys and logging in.
PGP
Sign: F202 79C9 76F7 40BB 54EC 494F 5DEF 1D70 14C1 C4CC
Encrypt: A5B3 1B21 55E1 80AF 4C6E DE83 467B 8EFC 3DEE 681C
Auth: CD55 E8A5 1A08 2933 8BA6 BC88 D81F 1943 739A 3C47
Sign: F202 79C9 76F7 40BB 54EC 494F 5DEF 1D70 14C1 C4CC
Encrypt: A5B3 1B21 55E1 80AF 4C6E DE83 467B 8EFC 3DEE 681C
Auth: CD55 E8A5 1A08 2933 8BA6 BC88 D81F 1943 739A 3C47













![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)



