RU EN ES

Domain and IP whois

Domains HostingHosting VPS HostingVPS / VDS SSLCertificates Company Company

VPS / VDS hosting >  Resetting root password in Centos 7 and Centos 6

To reset the root password on centos, you need to obtain and configure a VNC client. Then, in the client menu, restart the server by pressing the Ctrl + Alt + Del key. The server counts down for a few seconds when loading, press Esc to stop loading. 

Next, to edit the download, you need to press "e".

Find the line that starts with "linux", change the "ro" parameter to "rw", remove the "rhgb" and "quiet" parameters; add "rd.break enforcing = 0" at the end of the line as shown in the screenshots. 


Press Ctrl + x to apply and start the system. After downloading, you will need to execute the password reset commands:


#chroot /sysroot
#passwd root
#touch /.autorelabel
#exit
#reboot 


 For Centos 6


#passwd root
#reboot 


Done.

Client Area

Log in

Forgot Password


Sign Up


Check mail:

Mail:
Pass.:

VPS Application catalog

Additional services

Knowledge base

VPS hosting

We were chosen by leading media companies with large volumes of data and high load

Calculate tariff

Domain transfer