Re: admin password?
Am Montag, 31. Dezember 2012 schrieb Mika Suomalainen:
> On 31.12.2012 06:03, Osamu Aoki wrote:
> > If you did not lock system with grub password, you can always
> > login as root without password.
> >
> > Google with "grub init=/bin/bash mount" you get many howtos
> > describing:
> >
> > Boot with
> >
> > init=/bin/bash
> >
> > or
> >
> > init=/bin/sh
> >
> > for GRUB. Then at root prompt
> >
> > mount -o remount,rw /
> >
> > to reset with "passwd".
>
> I recommend booting with "rw init=/bin/bash". The "rw" removes the
> need to run "mount -o remount,rw /".
>
> I would also like to add running command "sync" after changing the
> password with "passwd" to ensure that the change gets written to disk.
Eh, always read complete thread first. Note taken. :)
Its all there already.
Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Reply to: