Re: how to change root passwd (if forgotten)
- From: "Robert Blair Mason Jr." <rbmj@xxxxxxxxxxx>
- Date: Thu, 11 Aug 2011 22:47:31 -0400
On Thu, 11 Aug 2011 15:48:02 -0600
Aaron Toponce <aaron.toponce@xxxxxxxxx> wrote:
sulogin is easy enough to bypass.
* Boot Live CD
* Mount /
* Edit /etc/inittab
* Comment out si::sysinit:/etc/init.d/rcS
* Reboot into single user mode
Much easer than chroots, or any of the other previous suggestion, IMO.
Easier than:
* Add init=/bin/bash to the end of kernel in grub
* mount -o remount,rw /
* passwd
* sync & reboot
? Most people I know would rather blindly type commands than edit a
file, and I for one lose my Live CDs a lot :D
--
rbmj
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20110811224731.27c483b7@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: how to change root passwd (if forgotten)
- From: Ivan Shmakov
- Re: how to change root passwd (if forgotten)
- References:
- how to change root passwd (if forgotten)
- From: abdelkader belahcene
- Re: how to change root passwd (if forgotten)
- From: Nico Kadel-Garcia
- Re: how to change root passwd (if forgotten)
- From: Walter Hurry
- Re: how to change root passwd (if forgotten)
- From: Dom
- Re: how to change root passwd (if forgotten)
- From: Aaron Toponce
- how to change root passwd (if forgotten)
- Prev by Date: Re: Unable to create either bootable USB flashdrive or CD/DVDrom
- Next by Date: Gmane (was: Re: Hdd recipes for preseeding d-i)
- Previous by thread: Re: how to change root passwd (if forgotten)
- Next by thread: Re: how to change root passwd (if forgotten)
- Index(es):
Relevant Pages
|