Selinux Short
I few shorts remarks about selinux, more like a reminder for myself
Restore directory permissions, exmple authorized keys files that doesn’t work
restorecon -R -v ~/.ssh How to temporarily disable selinux, i use this for debugging to see if the problem is selinux
echo 0 >/selinux/enforce # or setenforce 0 And to enable them again use
echo 1 >/selinux/enforce # or setenforce 1
One minute to read