Forget Lubuntu password

What if you forget Linux lubuntu system password? How to enter to system.

linux password with linux and Operating systems|lower


WHAT TO DO IF YOU FORGET YOUR PASSWORD FROM LUBUNTU LINUX

1. Go to GRUB menu on start? If it is not shows up automaticly just hold SHIF key. You have to enter to an Advanced menu there. Then choose recovery mode. Then Drop the root shell prompt.

2. Shell prompt will be appeared. Type $ mount -rw -o remount / (we have to remount our root / directory with right to write).

3. List available users with help of $ ls /home

4. Type passwd <your username> and write new password. Type $ exit and resume with normal boot.

 

What to do if you forget password for CentOS

1. During boot process tap up and down keys. Then type “e”.

2. Delete string “rhyb\quietthen type space and 1 “ 1” then type ENTER

3. Type ctrl+c then you’ll get to comand shell type passwd // doesn’t work for me

4. At the end of the line started with word linux type rd.break then type ctrl+x

5. You’ll get into the emergency mode prompt started with /#

6. Then the same as previous case. We remount root partitions to write mode. # mount -0 remount rw /sysroot

7. # chroot /sysroot (go to the root dir).

8. Change password with ls /home then passwd <your username>

8. type touch /.autorelabel for system to remember changes

9. exit → reboot

It didn’t remember new password after reboot