本文共 710 字,大约阅读时间需要 2 分钟。
boots failed with “sulogin: can not open password database” while the /etc/passwd and /etc/shadow look fine. How to fix this?
引导失败,并显示“ sulogin:无法打开密码数据库”,而/ etc / passwd和/ etc / shadow 看起来不错。 如何解决这个问题?
The OS is Fedora 22.
操作系统是Fedora 22。
You may try this trick
你可以试试这个把戏
Step 1: boot with rw init=/bin/bash
following .
步骤1:根据使用rw init=/bin/bash
引导 。
Step 2: after Linux booted, disable SELinux following .
步骤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
多谢,伙计。 有效
翻译自:
转载地址:http://iqlwd.baihongyu.com/