Displaying 2 results from an estimated 2 matches for "e2231b17".
Did you mean:
9a231b17
2018 May 30
0
Password recovery trick not working on CentOS
...ge W Bush, "Today" show interview, 27 February 2017
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20180530/e2231b17/attachment-0001.sig>
2018 May 30
3
Password recovery trick not working on CentOS
Hi,
I remember back in the days, there was a neat trick to recover a lost
root password, or more exactly, redefine a new password for root.
1. In the bootloader, boot the system with the 'init=/bin/bash' kernel
argument.
2. Remount the root partition in read-write mode:
# mount -o remount,rw /
3. Set the password for root:
# passwd
4. Remount the root partition in read-only