Question: how to change root user password linux?
Answer: Log in to the server with the root user using your existing password.
Now, to change the password for the root user, enter the command: passwd root.
On the new password prompt, provide the new password a couple of times and then hit enter.
The root user's password has now been changed.