Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   Linux Password (http://www.abandonia.com/vbullet/showthread.php?t=7400)

Rinforzando 29-09-2005 04:09 PM

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)

Data 29-09-2005 05:22 PM

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.

chickenman 30-09-2005 01:59 PM

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:

Rinforzando 03-10-2005 10:53 AM

: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:

Rogue 03-10-2005 11:14 AM

:)

Thank's good Win98 does not have a password. (even if it does, you still just cancel on the log in :))

chickenman 05-10-2005 02:03 PM

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.