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.


Thanks dude. It worked

Similar Posts

  • Patching with git

    Tutorials on how to create patches and apply patches with git. A nice tutorial: https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/ Manuals: git format-patch: https://www.systutorials.com/docs/linux/man/1-git-format-patch/git apply: https://www.systutorials.com/docs/linux/man/1-git-apply/ Read more: How to create a git branch on remote git server How to do diff like `git diff –word-diff` without git on Linux? Cheatsheet: Git Branching with a Git Server What about the…

  • |

    Vim + cgdb

    I begin to use vim for programming. I like the tools that focus on one function. I used to use emacs. But I think I like vim more. For debugging, I use gdb. But I use the front end cgdb. I can see the codes with the cursor when debugging. I can use F8 for…

  • Designing posters – SysTutorials QA

    Some tutorials or materials for designing posters? Designing conference posters by Colin Purrington: http://colinpurrington.com/tips/academic/posterdesign Scribus – an open source desktop publishing tool: http://www.scribus.net/canvas/Scribus Inkscape is a good tool for editing vector figures. GIMP is a great tool for editing images. Read more: Squeezing Space in LaTeX – SysTutorials QA Free server images – SysTutorials QA…

  • RGBlite WordPress Theme

    About RGBlite Theme RGBlite Theme is a simple and light-weight theme for WordPress. RGBlite Theme provides a green-red-blue mixed style, bright view and fast rendering experience to the users. RGBlite Theme passes W3C XHTML 1.0 and W3C CSS level 3 validation. This theme works well on WordPress 2.9.x and WordPress 3.0. RGBlite theme is among…

  • Implementation of strstr in glibc

    What is the implementation of strstr in glibc? Implementation of STRSTR in glibc (string/strstr.c): /* Return the first occurrence of NEEDLE in HAYSTACK. Return HAYSTACK if NEEDLE is empty, otherwise NULL if NEEDLE is not found in HAYSTACK. */ char * STRSTR (const char *haystack_start, const char *needle_start) { const char *haystack = haystack_start; const…

Leave a Reply

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