Linux boots failed with “sulogin: can not open password database” while the /etc/passwd and /etc/shadow files look fine. How to fix this?
Linux引导失败,并显示“ sulogin:无法打开密码数据库”,而/ etc / passwd和/ etc / shadow 文件看起来不错。 如何解决这个问题?
The OS is Fedora 22.
操作系统是Fedora 22。
You may try this trick
你可以试试这个把戏
Step 1: boot Linux with rw init=/bin/bash
following this tutorial.
步骤1:根据本教程,使用rw init=/bin/bash
引导Linux 。
Step 2: after Linux booted, disable SELinux following this tutorial.
步骤2:启动Linux后,请按照本教程禁用SELinux。
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.
如果可行,那就是SELinux的权限问题。 您可以在成功登录并重新启用SELinux之后对其进行修复。
Thanks dude. It worked
多谢,伙计。 有效