Réinitialiser un mot de passe root perdu
Démarrer la machine et appuyer sur “e” dans le menu du Grub
À la ligne commençant par “Linux”, ajouter
init=/bin/bash
à la fin de la ligne après
quiet
Ctrl-x
mount -rw -o remount /
passwd root
Ctrl-Alt-Suppr
Sources
https://linuxhint.com/reset_root_password_debian/
https://doc.ubuntu-fr.org/tutoriel/comment_changer_son_mot_de_passe_principal