How to change root password in CentOS?

You should login as root user,
type the following command to change password for user root:
# passwd root


Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

  • 70 Users Found This Useful
Was this answer helpful?

Related Articles

What is FTP?

FTP refers to a network protocol responsible for transferring files from one computer to another...

Need a free Antivirus for Windows. What can You advise?

There are many anti-virus with free trial in the Internet but if you need a full free antivirus...

Should your business go with a VPS or a Dedicated server?

It depends what you are planning to use it for. If you have a resource-intensive platform or...

How do I connect to my Linux-based VPS? (SSH)

We recommend the program PuTTY for SSH. You can download it here:...

How to connect to rdp from mac os?

You can use any RDP clients for mac os. We would like to advise to use 2X RDP client for mac os....