Re: lost bootable linux password
From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 12/28/03
- Next message: P Gentry: "Re: ACLink sound - which driver?"
- Previous message: Robert Hampf: "Re: Fedora, rpm: /bin/sh is needed by kernel 2.4.22-1.2135.nptl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Dec 2003 00:59:53 GMT
On Sun, 28 Dec 2003 00:53:34 +0000 (UTC), Anonymous Sender wrote:
> Hello I am using a live bootable-linux, Adios, and forgot the root password.
>
> Can anybody tell me of a fairly easy way to change the unknown password,
> mabe I can delete a file and reboot the bootable cd and start over?
google_single_password_search_tag
You can change passowrd at a command line prompt with
passwd (login id to change here)
If your boot menu has a "failsafe" selection, that will boot into
single user level 1 mode. If not the boot loader grub or lilo
will allow you to set single/level 1 mode.
----------------- using grub ----------------------
When at the grub menu
Hit e to get to the edit mode
You should be on the Kernel line containing /vmlinuz
Hit e again and add a
space single
to the end of line and hit Enter key. Example:
kernel (hd0,4)/vmlinuz 1 root=/dev/hda9 mem=128M single
then b to boot
You then come to the sh-nnn# prompt.
When you "exit" the system will continue booting.
---------------- using lilo -----------------------
Hit Tab key at lilo prompt then
linux 1 or linux single
----------------------------------------------------
Another method would be to boot cd 1 in the rescue mode
and mount your hard drive partition ang get it chroot'ed
- Next message: P Gentry: "Re: ACLink sound - which driver?"
- Previous message: Robert Hampf: "Re: Fedora, rpm: /bin/sh is needed by kernel 2.4.22-1.2135.nptl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|