UC Reset CentOS-7 Lost Root Password

Home » CentOS » UC Reset CentOS-7 Lost Root Password
CentOS No Comments

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.

user mode

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.