Locked out after enabling Selinux on CentOS
Linode
Linode Staff
Issues with being locked out of CentOS after enabling Selinux
1 Reply
asilverman
Linode Staff
If you are locked out of your Linode, you can use Lish to log in from your Linode Manager. You will need to use your root login and password. If you don't remember your password, we have a guide for resetting your root password.
After logging into Lish, you will need to enter the following command to set Selinux into passive mode:
setenforce 0
Then reboot your Linode for the change to take affect. You can then login normally using SSH.
For more information on Selinux and how to use it, you can find it at redhat's introduction to Selinux.