Reset root password

1 Riavviare la macchina

2 Al prompt per la scelta del kernel premere “e” per edit

3 Modificare la riga che inizia per “linux16” aggiungendo a fine riga “rd.break enforcing=0”

4 Premere “ctrl-x” per avviare in single user mode

5 mount -o remount,rw /sysroot

6 cp /bin/bash /sysroot/tmp

7 chroot /sysroot /tmp/bash

8 passwd root

9 exit

10 umount /sysroot

11 reboot del sistema

Commenti

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

62 − 60 =
Powered by MathCaptcha