Change user password
Changing the root user's password is an essential task for system security or recovery. Here's a step-by-step guide depending on whether you can log in as root, access through a sudo-enabled account,
passwd
sudo passwd root
Last updated