Linux boots failed with “sulogin: can not open password database” while the /etc/passwd and /etc/shadow files look fine

Linux boots failed with “sulogin: can not open password database” while the /etc/passwd and /etc/shadow files look fine. How to fix this?

The OS is Fedora 22.

You may try this trick

Step 1: boot Linux with rw init=/bin/bash following this tutorial.

Step 2: after Linux booted, disable SELinux following this tutorial.

Reboot.

If it works, it is that SELinux’s permission problem. You may fix them after you have successfully logged on and re-enable SELinux.

Answered by Eric Z Ma.

Thanks dude. It worked

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *