I have this script that will auto fill in the password for a new account created in the system:
echo $PASW1 | passwd --stdin userid
This works in linux, but in hp-ux 11x it wont work. I've already checked the man pages and there is no entry or option on how to replicate the same for the
is it -n? didn't work.