changing a users pwd
hey Iam creating a php script to change a users password....thus I need a non interactive command to change a users password....
I tried: # passwd username
but it prompts me for the password
I want a command that does not prompt me ...something like useradd username
I know that there is a -p argument in useradd .... but I was told that I can only submit the encrypted password with that argument is that true ??