Re: Reset root password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the steps, an old one, can someone verify if it's still
applicable. Sorry I don't have a test system to try it out:

1. Using an Install CD, put into the CD drive and boot from it
2. At the "boot:" prompt type "linux single"
3. Now you need to mount the partition where your grub configuration
file is stored. From the "# " prompt type "fdisk -l" and from the
"Device" column the line that have an asterisk is your boot partition
where grub is located
4. Mount your partition "mount /dev/sda1 /mnt" (assuming /dev/sda1 is
the device that has the asterisk)
5. Afterwards do:
	cd /mnt/boot/grub
	vi grub.conf
6. Find the password line and remove it
6. Save the file then do:
	sync; sync
	cd /
	umount /mnt
	reboot








On Sun, Mar 29, 2009 at 10:18 PM, Rahul Sundaram
<sundaram@xxxxxxxxxxxxxxxxx> wrote:
> Mikkel L. Ellertson wrote:
>> Rahul Sundaram wrote:
>>> Hi
>>>
>>> If anybody can add the steps to reset if the boot loader is password
>>> protected as well, feel free to do so.
>>>
>>> https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
>>>
>>> Rahul
>>>
>> It needs to be fleshed out, but for a password protested boot
>> loader, you can do it as long as you can boot from a CD/DVD. Boot
>> the install media in the rescue mode, chroot to the mounted root
>> file system, and run passwd to change the root password. (You can
>> probably grab most of the text from an explanation on how to
>> re-install Grub.)
>>
>> I am not sure how the rescue mode handles an encrypted file system.
>> Will it mount one if you supply the password?
>
> If you want to help, do test and document the method that works.
>
> Rahul
>
> --
> fedora-docs-list mailing list
> fedora-docs-list@xxxxxxxxxx
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-docs-list
>

-- 
fedora-docs-list mailing list
fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux