Changing Forgotten Root Password

Robert G. (Doc) Savage dsavage at peaknet.net
Fri Jul 30 20:42:43 UTC 2010


On Fri, 2010-07-30 at 16:18 -0400, binarynut at comcast.net wrote:
> Fedora 11, 12
> 
> Changing Forgotten Root Password.
> 
> Starting computer and going into Single User Mode and deleting the "x" 
> in /etc/passwd and restarting computer and login as "root" and add new 
> root password, does that still hold true for FC10, 11, 12
> 
> /etc/passwd
> 
> root:x:0:0:root:/root:/bin/bash

Even simpler: go into Single User mode and run 'passwd' to change the
root password. No editing of /etc/passwd required.

--Doc Savage
  Fairview Heights, IL



More information about the users mailing list