Aqui guardo el numero de la pagina o el numero de episodo de lo que este estudiando.
Here I will save my notes about in what page I'm in or in which episode I leaft the videos that I see when I'm stydding in Platzi about programming.
This is meant to a proof that I'm not just leaving code just because I want, actually I want to show to the world that even if I not writing code, I'm learning something about linux.
Hi this is a note about how to recover access to linux, just in case you lost the root password.
-
You must have physical access to the computer
-
Reboot the computer
-
Once you see the grub manager, selec the option of your computer (normally it is the first option in the grup manager)
-
hit "e" in your keyboard.
-
You'll see and script, inside it you have to look for the word ro
-
erase the ro and put in there rw init=/sysroot/bin/sh
-
hit ctrl + x
-
then continue with the command chroot /syhsroot
-
then the command passwd root
-
Once you change the password, always has the root user "#" run the next command touch /.autorelabel
-
and then exit and reboot.
-
Login in as a root and you'll have root access again.