How to change root password on SUSE / OpenSUSE Linux

To change the root password on SUSE / OpenSUSE Linux, you can use the passwd command. Here’s how to do it:

  1. Log in as root: Log in to the system as the root user.
  2. Run the passwd command: Run the following command in the terminal:
passwd
  1. Enter the new password: You will be prompted to enter the new password. Enter the new password and press enter.
  2. Confirm the new password: You will be prompted to confirm the new password by entering it again. Enter the new password again and press enter.
  3. Verify the password change: Log out and log back in as the root user to verify that the password has been changed.

Note: It’s important to choose a strong and secure password to protect your system and sensitive data.

Leave a Comment