[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: admin password?



Please do not top-post.

Am Sonntag, 30. Dezember 2012 schrieb Dionyssis Goulimis:
> > On 12/30/12, Dionyssis Goulimis <dionyssis12@gmail.com> wrote:
> >> Hi,
> >> 
> >> I downloaded the last edition of Debian yesterday but I can't remember
> >> my Admin password, what is the best way to stop using an Admin
> >> password?
> >> 
> >> Best,
> >> 
> >> Dionyssis Goulimis
> >> 
> >> 2012/12/30, Dionyssis Goulimis <dionyssis12@gmail.com>:
> >>> Hi,
> >>> 
> >>> I downloaded the last edition of Debian yesterday but I can't
> >>> remember my Admin password, what is the best way to recover it?
[…]
> 2012/12/30, Zenaan Harkness <zen@freedbms.net>:
> > If your normal user is in /etc/sudoers, then run
> > sudo su - root
> > to become the root user. With sudo, you have to enter your normal
> > password to use it.
> > good luck
> > 
> but how do you run sudo su - root? from Grub?

- Add root=/bin/bash to kernel parameters in Grub (see legend at the bottom 
of screen on how to do that]

- Then if needed do: mount -o remount,rw /

- Then: passwd
  - Change root password

- Then: mount -o remount,ro /

- Then reboot (likely a hard reboot is required since init system is not up)

Your favorite search engine will likely output at least a dozen of howtos on 
this process.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: