# touch /.autorelabel
is there a reason why it would be something else?
]]>yes Ok. Thankyou.
]]>@Rahul,
In CentOS 6 version, you need to press a
to enter to single user mode, while in CentOS 7, you should use e
to enter into single user mode. I hope it clears your doubts..
Here is the guide on How to Reset or Recover Forgotten Root Password in CentOS 7
]]>a
, nothing comes up. After sometime it just loads the default OS version, but when i give e
instead of a
, and use different sets of commands, I am able to change the root password. Can some one tell what am i missing in the above method. I am using centos 7 in my VM.
]]>Thanks for sharing, let me try the same instructions on my CentOS 6, will get back to you with solution.
]]>