[CentOS] UC reset CentOS-7 lost root password

Rushton Martin

JMRUSHTON at qinetiq.com
Tue Aug 5 11:09:59 UTC 2014


A live DVD or memory stick version of any recent Linux distro will allow
you
to boot. You can then mount the original disk as, say, /mnt.  Go to
/mnt/etc
and edit the root password to be null or cut-and-paste a known password
in.  Reboot and set it.

>Hie
>
>I lost my CentOS 7 root password, so I tried booting the OS in single
user mode
>but it prompts me for the root password when the system boots,
>
>Any ideas?
>
>Regards
>
>Bonnie

This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is 
addressed. If you are not the intended recipient of this email,
you must neither take any action based upon its contents, nor 
copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. QinetiQ may 
monitor email traffic data and also the content of email for 
the purposes of security. QinetiQ Limited (Registered in England
& Wales: Company Number: 3796233) Registered office: Cody Technology 
Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.com.



More information about the CentOS mailing list