To change the root password on SUSE / OpenSUSE Linux, you can use the passwd
command. Here’s how to do it:
- Log in as root: Log in to the system as the root user.
- Run the
passwd
command: Run the following command in the terminal:
passwd
- Enter the new password: You will be prompted to enter the new password. Enter the new password and press enter.
- 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.
- 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.