Re: Can't login to root

From: Wandering Destiny (remove_starcrushed_at_hotmail.com)
Date: 01/30/05


Date: Sun, 30 Jan 2005 23:36:27 +0800


"Rich Teer" <rich.teer@rite-group.com> wrote in message
news:Pine.SOL.4.58.0501291201210.855@zaphod...
> On Sun, 30 Jan 2005, Wandering Destiny wrote:
>
> > to login even at console? If I do a reboot to single user mode, will I
be
> > able to login as root?
>
> No. Boot from CD and fix the problem.

To all who reply, I managed to solve the problem by booting to single user
mode and removing all the numbers my colleague added to the shadow file. My
guess is that some service responsible for checking password expiration was
not started in single user mode, which might explain why I was able to log
in.

>
> The bitch-slap whoever broke it in the first place!

Can't do that, he is my team lead.



Relevant Pages

  • hangs up on login prompt (very strange)
    ... After reboot the whole system hangs up at "Login name" prompt (even in ... into single user mode, disabled gdm in single user mode but next boot I ... still hang at "Login name" ... I also tried to disable all getty but the box hangs right before "Login ...
    (freebsd-questions)
  • Re: Upgrade to 4.8 STABLE - Root mount failed: 6
    ... I am on step 21.4.8 Reboot into Single User Mode. ... > my new kernel, and I was trying to reboot into single user mode to test the ...
    (freebsd-stable)
  • Re: Im screwed - cant login
    ... it rebooted so that noone can login. ... >into single user mode", but then starts all the same services as mode 3 ... shell to something like /bin/tcsh or /bin/ksh and then reboot and try ... Also, while in rescue mode, you might want to run fsck on which ever ...
    (Fedora)
  • reboot in single user
    ... I'm curious to know if there is a command to reboot into single user mode- * ... more importantly* if I do reboot in single user mode can I still SSH in? ...
    (freebsd-questions)
  • RE: hangs up on login prompt (very strange)
    ... After reboot the whole system hangs up at "Login name" prompt (even ... into single user mode, disabled gdm in single user mode but next ...
    (freebsd-questions)