Change Centos Password
- First, log in to the CentOS Linux server using ssh or console.
- Open a shell prompt and type the passwd command to change root password in CentOS Linux.
- The actual command to change the password for root on CentOS Linux is sudo passwd root.