[CentOS] reset CentOS-7 lost root password

Scott Robbins scottro at nyc.rr.com
Tue Aug 5 12:15:49 UTC 2014


On Tue, Aug 05, 2014 at 11:35:44AM +0000, Paul Jones wrote:
> 
> On 05/08/14 12:26, Matthew Miller wrote:
> > On Tue, Aug 05, 2014 at 11:21:35AM +0000, Paul Jones wrote:
> >> - mount -o remount,rw on your root partition before you'll be allowed to
> >> write any changes
> >> - touch /.autorelabel to make sure SELinux doesn't refuse the changes
> >> after you reboot (if you're enforcing SELinux, obviously)
> > Or `/usr/sbin/load_policy -i` before remounting rw
> >
> 


http://fedoraproject.org/wiki/How_to_reset_a_root_password#Using_GRUB2

I see the OP has solved their issue already.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6




More information about the CentOS mailing list