To change unix password from command line: i used :
To change the root password:
sudo passwd
This gave instructions to change the UNIX password. It did not change my user password, who is the only user on the computer.
So which password was changed? Im new and im lost. Thanks
whoami
(which will respond with your username), thensudo whoami
which should let you understand what password you changed. – guiverc Oct 22 '17 at 01:48