Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 29-09-2005, 04:09 PM   #1
Rinforzando
Forum hobbit

 
Join Date: Jun 2005
Location: Bicester, England
Posts: 45
Default

I run windows and linux on the same machine. I haven't been using linux too often, and I haven't logged in as root for ages. My problem is that I... like... um... forgot my root password.

From what I understand, I'm now screwed completely. But are there any Linux-savvy people who can help me? (This means you, chickenman)
__________________
Let teh phantasy rule your mind
Rinforzando is offline                         Send a private message to Rinforzando
Reply With Quote
Old 29-09-2005, 05:22 PM   #2
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

If you have a boot loader
type this:

kernel init=/usr/bin/passwd

or kernel init=/bin/sh

(at the prompt append init=... to it( kernel could be linux as well).).
there is some documentation on the web which deals with that.
I think it's some howto.

edit or get bootable distribution and mount your root filesystem
and the chroot to it and set a passwd for the root.
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote
Old 30-09-2005, 01:59 PM   #3
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Default

WOW you forgot your root password


if you have a live CD use that then open a terminal (ctrl + alt + F1)
mount your Linux partition (such as mount /dev/hda1 /mnt)

then chroot /mnt

then use passwd to change the root password.

or if your using ubuntu

sudo passwd
or sudo paswd root
chickenman is offline                         Send a private message to chickenman
Reply With Quote
Old 03-10-2005, 10:53 AM   #4
Rinforzando
Forum hobbit

 
Join Date: Jun 2005
Location: Bicester, England
Posts: 45
Default

:Brain: Yes! Success! :Brain:

You guys are geniuses (or should that be geniei?)

Anyway, I owe you a big thankyou, so I've added one below.







THANKYOU!
__________________
Let teh phantasy rule your mind
Rinforzando is offline                         Send a private message to Rinforzando
Reply With Quote
Old 03-10-2005, 11:14 AM   #5
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default



Thank's good Win98 does not have a password. (even if it does, you still just cancel on the log in )
Rogue is offline                         Send a private message to Rogue
Reply With Quote
Old 05-10-2005, 02:03 PM   #6
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Default

Thank god we all don't use Windows :P
chickenman is offline                         Send a private message to chickenman
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Old password for EXE-ZIP files Phantom Tech Corner 14 27-04-2009 04:59 PM
Changing password Nirklars Old Suggestions 36 01-08-2008 09:36 AM
Network Password nace Tech Corner 3 13-12-2006 01:00 PM
Password? LEEROY69 Troubleshooting 4 26-03-2006 11:47 AM
Windows 98 Password Sunderer Blah, blah, blah... 9 13-10-2005 10:58 AM


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 On
HTML code is Off
Forum Jump
 


The current time is 04:08 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.