How to Change Root Password in Debian
The root password in Linux is the master password that grants unrestricted access to all system files, settings, and commands. To change the root password, take the following steps: sudo passwd root 2. Enter your account password 3. Type in the new root password. The output confirms the password has been changed successfully.