Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #187056
| From | Dejan Jocic <jodejka@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Rescue mode when root account locked |
| Date | 2017-09-20 15:10 +0200 |
| Message-ID | <urMVl-3rX-47@gated-at.bofh.it> (permalink) |
| References | <urLFT-2u1-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 20-09-17, solitone wrote: > When I boot in rescue mode, I get this message: > > Cannot open access to console, the root account is locked. See sulogin(8) > man page for more details > > When I press Enter to continue, it continues bootup in normal graphical > mode. > > Would it be wiser to unlock the root account, so that I can go into single > user mode? Or is there something I can do, without unlocking the root > account? > You have locked root account, presumably during install, when you decided that you do not need it and that you will just use sudo instead. That stuff is more for Ubuntu than for Debian, because ubuntu has patched sulogin to allow single user mode when root account is locked. You can easily unlock you root account with sudo passwd root. Enter password and root account will be unlocked. Unless you've used some other method for locking root, like putting /usr/sbin/nologin shell in /etc/passwd for root instead of /bin/bash. In that case you will have to undo your changes there.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Rescue mode when root account locked solitone <solitone@mail.com> - 2017-09-20 13:50 +0200
Re: Rescue mode when root account locked Dejan Jocic <jodejka@gmail.com> - 2017-09-20 15:10 +0200
Re: Rescue mode when root account locked Michael Biebl <biebl@debian.org> - 2017-09-20 15:10 +0200
Re: Rescue mode when root account locked Curt <curty@free.fr> - 2017-09-20 15:20 +0200
Re: Rescue mode when root account locked solitone <solitone@mail.com> - 2017-09-20 16:00 +0200
csiph-web