Linux machine password reset
Once in a while we also forget some passwords. This procedure will give you full root access. Needless to say – be careful.
There are quite a few methods to achieve same results. Assuming linux machine is bootable, this is the quickest and easiest:
Select Rescue mode during initial linux boot
Remount with read/write privileges
mount -rw -o remount /
To reset password type this
passwd <username>…