![]() |
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. :cry:
From what I understand, I'm now screwed completely. But are there any Linux-savvy people who can help me? (This means you, chickenman) |
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. |
WOW you forgot your root password :sick:
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 :cheers: |
: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! :kosta: |
:)
Thank's good Win98 does not have a password. (even if it does, you still just cancel on the log in :)) |
Thank god we all don't use Windows :P
|
The current time is 03:05 PM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.