chpasswd from a command line (without a text file)
I am trying to figure out how to use the command chpasswd. I need to use it without an external file. For instance,
chpasswd username newpassword
I cannot pull the information from another file, and I will not have access to the old password at the time.
Thanks in advance,