Impossible de changer le mot de passe

Bonjour a tous,
J’ai changé le mot de passe mais je ne peux pas me connecter.
Sur internet, il est dit de changer le fichier cmdline.txt. Or ce fichier n’existe pas sur ma clé.
Pourriez vous me dire pourquoi ? Et comment changer mon mot de passe ?

Merci beaucoup,
Ukuke

Hello !

Si tu n’as encore rien fait sur ton raspberry, je ne saurai que trop te conseiller de ré-installer Raspbian depuis 0 plutot que de tenter de modifier le mot de passe.

Tu peux en effet tenter de redéfinir un password avec la marche à suivre suivante (en anglais, si tu as besoin de traduction fait moi signe)

  • Put your (micro)SD card into a computer
  • Copy cmdline.txt to cmdline.txt.bak (just to make a backup)
  • Open cmdline.txt and add this to the end of the line: init=/bin/sh
  • Put SD card back into Raspberry Pi and turn it on
  • You should have root shell and you will be able to change password for any user, eg. passwd pi or passwd root
  • Remove init=/bin/sh from the end of the cmdline.txt or just delete that file and rename cmdline.txt.bak to cmdline.txt
  • Reboot RPi