Question

How do I change the root user's password via the command line?

 

Answer

  1. Log in to the server via SSH or WHM's Terminal as the root user
  2. Run the passwd command.

    passwd

  3. Enter the new password, then re-enter it when prompted. 

 

Additional Resources

passwd(1) - Linux man page