i would definitely NOT RECOMMEND this but if you must do it.. Â here is a way to do itÂ
open a terminal…
sudo nano -B /etc/shadow
This will open the /etc/shadow file (the one that contains all the passwords) in a text editor called Nano.
Once you have it open, find the appropriate line for the account in question. It’ll look something like this:
Change the second part (in bold here) to match this second part (also in bold):
Then save the file (Control-X, Y, Enter).