I forgot my root password. What do I do now? Εκτύπωση

  • 15

With the help of the rescue system you can set a new root password without knowing the previous one.

First mount the installed system:

 cd /mnt
 mkdir rescue
 mount /dev/md2 /mnt/rescue

Then change root into the system

 chroot /mnt/rescue

and run


where you can enter a new root password. After typing 'exit' you can reboot the server.

Ήταν χρήσιμη αυτήν την απάντηση;

« Πίσω