I want to create a script that would run on Solaris 8, that would read the username and password arguments into the script and actually create the password for that user. The password comand does not allow me to do the following:
Please help.
Code:
USERID=$1
PASSWORD=$2
echo $PASSWORD | passwd $USERID