Easy way to reset forgotten root password in CentOS 6.5

In this article we will learn, how to reset forgot root password in CentOS 6.0/6.1/6.2/6.3/6.4/6.5 and Fedora 16/17/18/19/20. To reset the root password we will boot the linux system in Runlevel 1 also known as single user mode.

Reset forgot root password in CentOS 6.1/6.2/6.3/6.4/6.5

To reset forgot root password in CentOS 6.0/6.1/6.2/6.3/6.4/6.5 and Fedora 16/17/18/19/20 follow the given below steps:
Step1: Boot your CentOS linux system and press esc key when you see the message “Press any key to enter the menu

Message on system booting
Message on system booting

Step 2: Now, select your operating system if it is dual/multiple boot and presa to modify kernel argument. If you cancel pressESC‘ key.

Boot menu
Boot menu[
[ads]

Step 3:  In kernel configuration, we have 2 methods to change to single mode. 1 we can use a number “1″, 2 we can use character “S”. Enter after done.

Appened 1 at the GRUB
Opened 1 at the GRUB

Step 4:  After reboot type ‘passwd command without username and press ‘Enter key in command prompt.

Change root password
Change root password

Step 5: Reboot your system and login using the new password.
Reference: http://wiki.centos.org/TipsAndTricks/ResetRootPassword

 

Install kloxo on RHEL/CentOS 5.x

Kloxo (Lxadmin) is one of the advanced open source and free web hosting control panel for RHEL / CentOS 5.x (32-Bit) distribution, currently not supported for 6.x. This lightweight web panel included all the leading control panel features such as FTP, PHP, MYSQL,Perl, CGI, Apache Spam Filter and much more. Features CentOS 5 Support Integrates with billing software such as AWBS, WHMCS and HostBill Kloxo HostinABox: Feature Complete web … Read more

Recover the MySQL Root Password Easily

To recover your MySQL database server password follow these five easy steps.. Step 1: Stop the MySQL service.. service mysql stop or service mysqld stop Step 2: Start the MySQL server without any passwords.. mysqld_safe –skip-grant-tables & Step 3: Connect to mysql server using mysql client.. mysql -u root Step 4: Setup new MySQL root … Read more