-
Deleting root password on Fedora partition
Hi
I am attempting to delete the root password on my Fedora Core partition from Knoppix. Root is the only user account on the partition and after having been a few months since I have used it, I have forgotten the password.
To do this I need to edit the "shadow" file located in /mnt/sda3/etc/ However I noticed in Konqueror that this file has a lock on it. I used the "root shell" on the penguin icon on the taskbar and opened the "shadow" file using the "vi" command in the console. It displays the line that I need to edit but it won't let me write to the file! Then I noticed that Knoppix will not let me edit ANYTHING on the hardrive anywhere! Not even a damn text file on my windows partition! Even if I changed the persmission option using the right click option.
I thought one of the primary purposes of Knoppix was for recovery, what good is this if you can't write to the hard drive
This reminds me of using a Mac, the level of child proofing is horrible
Any help will be greatly appreciated.
-
Senior Member
registered user
mount the / (root) partition of your Fedora install,
rightklick, choose action and change read/write mode
chroot to the mount point of fedora (let us say it is "/mount/point/of/fedora/"
sudo chroot /mount/point/of/fedora/
now just type "passwd root" and change password to whatever you want, much safer than trying to edit a shadow string.
as you most likely do not know the seed nor the key editing wil be risky, both the seed and key vary "randomly" with each install...
Similar Threads
-
By abeza in forum Hardware & Booting
Replies: 2
Last Post: 01-31-2007, 03:47 PM
-
By DRYICE in forum MS Windows & New to Linux
Replies: 3
Last Post: 08-18-2006, 02:06 AM
-
By Tiepo in forum MS Windows & New to Linux
Replies: 6
Last Post: 03-29-2005, 06:23 AM
-
By kidsatacrux in forum General Support
Replies: 8
Last Post: 05-21-2004, 12:48 AM
-
By stol in forum General Support
Replies: 2
Last Post: 05-13-2004, 03:14 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)
$344.74

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper MX204 +JUNOS and Dual Power Supply
$7299.99

Juniper QFX5120-32C-AFI 32x100GbE Switch Dual AC Airflow In, Rail Kit Included
$8150.00

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch
$179.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper EX4300-24P 24 Port Gigabit PoE+ Switch.
$95.62