If you are concerned about security (which you should be), the accepted answer represents a security risk by leaving the plaintext password in the ~/.bash_history
file. With this in mind, it would be better to try logging in, or perhaps removing this entry from the ~/.bash_history
.