>passwd --stdin $username <<_EOP_ >/dev/null 2>&1 >NewPAssWOrd >_EOP_ > >result=$? >[ X"$result" = X"0" ] && echo 'ok' > > >이런식으로 하면 됩니다. ======================================== echo -n "Input User Name :" read username echo " " echo -n "Input User pass :" read userpw 이렇게 했을때... userpw의 인자값이 어디로 넘어가는건가요..ㅡ.ㅡ 무식해서 죄송합니다..