Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-31-2004, 07:34 AM   #16
Registered: Mar 2004
Location: New York, USA
Distribution: Debian, Ubuntu
Posts: 71

Original Poster
Rep: Reputation: 15

yeah linorg, nice to meet ppl like u too.
ans sir bosewicht...i m not trying to do anythng of that kind. i m sorry if it seems like that.
guys but watever be the thing, this place rules...

Old 03-31-2004, 09:41 PM   #17
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
If you have lilo, you can tell it to boot like this

linux init=/bin/sh and you'll boot straight into a root shell instead. This can be protected against by adding 'restricted' to each image section in the lilo config, and setting a password in there as well (plain text, so be sure to chmod 600 your lilo.conf). Note that the linux entry there is just the default name - if you've called your image foobar, then it's foobar init=/bin/sh.

You can also whack a debian boot disk in on any linux distro, even with locked lilo suff, and boot from it but don't start the installation. You can then go to a terminal (alt-2) and mount the root filesystem (nomally /dev/hda1 - mount /dev/hda1 /target), then chroot /target, then just run passwd to reset the root password on any distro.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 10:12 PM
How to reset forgotten root password comprookie2000 Linux - Newbie 4 10-28-2004 12:33 PM
Forgotten my root password Blondie Linux - Newbie 2 12-08-2003 11:50 AM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 02:06 AM
Mandrake 9 : Forgotten Root Password acadcworks Linux - General 8 12-18-2002 03:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration