[CentOS] reset CentOS-7 lost root password

Tue Aug 5 11:35:44 UTC 2014
Paul Jones <paul.jones at atass-sports.co.uk>

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
>

Didn't realise that tool existed. That's a useful one, thanks.

Also just realised the previous top-post. Sorry list.

Paul

--