Re: reset CentOS-7 lost root password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks guys solved the issue using the LiveCD, 

Regards

Bonnie


-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of Paul Jones
Sent: Tuesday, 5 August 2014 1:36 PM
To: CentOS mailing list
Subject: Re:  reset CentOS-7 lost root password


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

--

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux