I am using Solaris9 and trying to change password of a user with command:
i want password to be given from text file or command line so that password is not prompted on the command line. Is there any way to do this?
I guess i am able to force the carriage return to be entered while entering the password from command line.
This is what I am doing:
passwd userid << EOF
But after this, it still gives me New Password prompt. Any help will be appreciated.