Comments on: How to Reset Forgotten Root Password in RHEL Systems https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 18 Mar 2024 05:48:27 +0000 hourly 1 By: Nikolai https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/comment-page-1/#comment-1970003 Tue, 21 Feb 2023 23:51:14 +0000 http://www.tecmint.com/?p=1558#comment-1970003 Hi, I’m taking an intro to Linux class and I was that dummy who forgot his password to get into the linux shell today. I read here that the SElinux context can be accurately implemented with # touch /.autorelabel is there a reason why it would be something else?

]]>
By: Rahul https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/comment-page-1/#comment-981797 Thu, 12 Apr 2018 07:55:39 +0000 http://www.tecmint.com/?p=1558#comment-981797 In reply to Ravi Saive.

yes Ok. Thankyou.

]]>
By: Ravi Saive https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/comment-page-1/#comment-981232 Tue, 10 Apr 2018 07:02:45 +0000 http://www.tecmint.com/?p=1558#comment-981232 In reply to Rahul.

@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

]]>
By: Rahul https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/comment-page-1/#comment-981228 Tue, 10 Apr 2018 06:38:17 +0000 http://www.tecmint.com/?p=1558#comment-981228 Hi All, I am new to Linux. I tried to break my root password with above method. but when i interupt the grub, and type 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.

]]>
By: Ravi Saive https://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/comment-page-1/#comment-978511 Wed, 28 Mar 2018 07:57:58 +0000 http://www.tecmint.com/?p=1558#comment-978511 In reply to Paul.

Thanks for sharing, let me try the same instructions on my CentOS 6, will get back to you with solution.

]]>