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.

asked Jan 21, 2016 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

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 Jan 21, 2016 by Eric Z Ma (44,280 points)
selected Dec 25, 2017 by Eric Z Ma

Thanks dude. It worked

commented Dec 26, 2017 by saifulla (100 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...