Locked out after enabling Selinux on CentOS

Linode Staff

Issues with being locked out of CentOS after enabling Selinux

1 Reply

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct