![]() |
#1 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Location: Bicester, England
Posts: 45
|
![]() 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 |
||
![]() ![]() |
|
![]() |
#2 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
|
![]() 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 |
||
![]() ![]() |
|
![]() |
#3 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
|
![]() 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 |
||
![]() ![]() |
|
![]() |
#4 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Location: Bicester, England
Posts: 45
|
![]() :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 |
||
![]() ![]() |
|
![]() |
#5 | ||
![]() ![]() ![]() ![]() Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
|
![]() Thank's good Win98 does not have a password. (even if it does, you still just cancel on the log in |
||
![]() ![]() |
|
![]() |
#6 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
|
![]() Thank god we all don't use Windows :P
|
||
![]() ![]() |
|
![]() |
|
![]() |
||||
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 |
|
|
||
  |