-
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

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710
$349.99

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)
$299.95

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99