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

Posted on In QA

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.


Thanks dude. It worked

Eric Ma

Eric is a 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 *