Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Explosion-Scratch/69abfedd02abc70d214411431f7293b1 to your computer and use it in GitHub Desktop.
Save Explosion-Scratch/69abfedd02abc70d214411431f7293b1 to your computer and use it in GitHub Desktop.
Reset Chromebook sudo password when you forgot/somehow don't know it.
  1. Open up shell with Control + Alt + T
  2. Enter vmc start termina
  3. You should see something like this: image
  4. Enter lxc start [your_linux_username] (don't worry if this says it's already started)
  5. Enter lxc exec bash -> Now you have a bash root session!
  6. Enter passwd [your_linux_username to set the sudo password, then just passwd to set the root password
  7. Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment