Start the machine that you do not remember the root password and follow this step by step guide:
Press F9 on the startup screen (be quick because you have a few seconds available). Now you will get the GRUB menu, select the boot configuration, and press e.
- At this point we present several lines, move on that kernel that starts with ... and press e.
-
Towards the end of the string find the word ro, rw, replace it with (this will allow access in writing) to end of line and add the following syntax: init = / bin / bash - [CAUTION: The keyboard is set by default with the American, the symbol = is equivalent to pressing the button i is the slash / same a - (dash, what is next to Send / Enter)].
- Now press Enter / Enter and then the b button (which is the boot command to boot).
- After a few seconds will open the command line. bash-version # Type the following commands (watch the spaces): -version bash # mount / o remount, rw
- -version bash # passwd Changing password for user
- root. New UNIX password: (new root password) Retype new UNIX password: (new root password) passwd: all authentication tokens updated succesfully -version bash # mount / o remount, ro- bash version # reboot You're done.
0 comments:
Post a Comment