Mot de passe oublié (LMDE, Ubuntu, Windaube 10)

Changement mot de passe LMDE

  1. Accéder au GRUB (si le GRUB n’apparait pas appuyer sur shift au démarrage)
  2. Une fois sur le GRUB, demander l’édition en appuyant sur e
  3. Se déplacer avec les flèches
  4. Trouver la ligne

linux /vmlinuz-6.12.57+deb13-amd64 root=/dev/mapper/lvmlmde-root ro cryptdevice=UUID=d20c4134-96f9-4447-8d57-d0ccabea6757:lvmlmde root=/dev/mapper/lvmlmde-root resume=/dev/mapper/lvmlmde-swap quiet splash

  1. A la fin de cette ligne, ajouter rw init=/bin/bash attention clavier en QWERTY ! voir le layout ici
  2. Quitter avec F10 ou Fn+F10
  3. À l’invite de commande root, vérifier les noms d’utilisateurs présents avec ls /home
  4. Changer le mot de passe avec la commande : passwd nomutilisateur
  5. Entrer le nouveau mot de passe 2 fois
  6. Redémarrer avec reboot -f

Cette modification est temporaire et disparaît du GRUB au reboot.

Changement mot de passe perdu sur Ubuntu

  1. Démarrer en maintenant la touche shift enfoncée pour forcer l’apparition du menu GRUB
  2. Dans GRUB sélectionner Options Avancées pour ubuntu / Advanced options for Ubuntu
  3. Sélectionner le noyaux le plus récent en mode recovery / recovery mode
  4. Sélectionner root > entrée x2
  5. dans la console, entrer : mount -rw -o remount /
  6. faire : ls /home pour voir la liste des utilisateurs
  7. demander le changement de mot de passe avec : passwd username où username est le nom de l’utilisateur dont vous voulez changer le mot de passe
  8. Entrer le mot de passe et le confirmer
  9. Entrer : exit
  10. Sélectionner “resume normal boot” (1ère option) et faire entrée

l’ordinateur redémarre et vous pouvez utiliser votre nouveau mot de passe

Changement mot de passe sous windaube 10

How to Reset Windows 10 Password with Ubuntu Live CD/USB ?

  1. To get started, just download Ubuntu Desktop free from Ubuntu official website (about 1.4 GB). Burn the ISO image to a CD (or USB flash drive) using the freeware ISO2Disc.
  2. Insert the Ubuntu Live CD into the computer that you want to reset the password for, then you need to boot off the disc. Once booted to the Ubuntu Live welcome screen, choose Try Ubuntu.
  3. Open System Settings and then click on Software and Updates. In the window that appears, check the Community-maintained free and open-source software option and click Close.
  4. A dialog will appear with the repository information is out of date. You have to Click the Reload button.
  5. Open a terminal, then run the following command to install the password resetting utility you'll need.

sudo add-apt-repository universe

sudo apt-get install chntpw

  1. Now find your Windows partition and browse to the directory Windows\System32\Config. Right-click blank space and select Open in Terminal.
  2. In the terminal, run the following command and it will list out all the user accounts that are contained on your Windows 10 system.

chntpw -l SAM

  1. If you would like to reset lost password for a specific account, type the following command and press Enter.

chntpw -u user_name SAM

  1. You'll be presented with several options to reset the password, unlock / enable / promote user account. Type 1and press Enter.
  2. Type q and hit Enter at this point to quit the User Edit Menu. Then type y to confirm and save the changes.
  3. Reboot your computer and take out the Ubuntu Live CD from the disc drive. You can then log into Windows 10 without a password !

Révision #2
Créé 20 mai 2026 17:17:41 par David Jacquel
Mis à jour 20 mai 2026 17:34:47 par David Jacquel