Linux reset password (Debian based)
then follow the command to call bash on the next initialization after grub
rw init=/bin/bashWait to enter as $roort#
passwd [user]For list user you can use (you find probably at end of the list):
less /etc/passwdTo restart you can’t use shutdown because it’s not started the OS itself, so use the following command to restart:
exec /sbin/init 6This is only for study or necessity cases use at your own responsibility