Choose language

Portal Home > Knowledgebase > How-to > Dedicated servers > How to recover the root password on linux

How to recover the root password on linux


To do this you need to switch the server into the rescue mode, go to "My Services", then choose the service you would like and use the "Netboot" button. Change it into the rescue-pro and reboot the server. After a while you will get the rescue mode data on your email. Log onto the server using tis data. Now you have to mount the root partition (/). Here is a tutorial how you can do this:

click here

Now you need chroot it, use command:

chroot /mnt

when you mount the root partition and chroot it, you must only type commands to change the password


Type the new password twice. Now you can switch the server into the normal boot, reboot the server. When the server is online in normal boot you will be able to use the new password.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
RDC how to start (Views: 4813)
Rescue mode on linux (Views: 3521)