Как в Debian/Ubuntu загрузиться в однопользовательский режим

single boot password recovery rescue boot

Как в Debian/Ubuntu загрузиться в однопользовательский режим

  1. На первом экране grub - нажать “e”

  2. Исправить строку запуска ядра начинается с linux: добавить  single между “ro quiet”, а в конце этой строкидобавить: init=/bin/bash

  3. Для загрузки  F10

  4. When the prompt is root@none:/# you have to remount the / partition to have read-write access: mount / -rw -o remount

  5. Now you are ready to modify the root password: type passwd and change it!

Good luck

P.S: try to look at the /etc/shadow file to find other users…