Linux: Resetting root password on Debian based distributions

By | 28/03/2018

When you lost access to root or any other account on a Debian based system, use this simple steps to gain access:

  • At the boot window, where it counts down, quickly press “e” where you stand.
  • Scroll down to the kernel line you will boot from, it starts with “linux /boot/vmlinuz-…….
  • Scroll to the end of that line and press space key once and type init=/bin/bash
  • Press Ctrl X to boot

Leave a Reply

Your email address will not be published. Required fields are marked *