I forgot the password in the typewriter from the closet. It doesn’t seem to be a problem - we change everything. But it won’t work that easily with the entertainers from SUSE: everything that usually works (and is described on the Internet) doesn’t work. Namely, there is no instruction for their distribution. Their own instructions also does not work. That’s why I wrote this one.

  1. In the GRUB menu, press e, at the end of the line with linux add init=/bin/bash, press `Ctrl+X'.
  2. We are waiting for the download, then the passwd command to change the password, and then sync to make sure that the changes are written to disk.
  3. Turn off the power via the button (power management commands do not work with such a boot), turn it on again.
  4. In the GRUB menu, press e, at the end of the line with linux, add enforcing=0, press `Ctrl+X'.
  5. Waiting for the download, log in with a new password and type `restorecon -v /etc/shadow'.
  6. Now we can type reboot or Ctrl+Alt+Del for the final reboot.