-
>On Sun, 1 Jul 2001, mukund wrote:
>
> |Hi,
> |Is there any single line command to change user password which does not
> |generate any prompt. I want to use it in a script. chpasswd doe not work.
>
>echo "username:" | /usr/sbin/chpasswd
>
Thanks it worked with
echo "username:passwd" | /usr/bin/chpasswd
BTW some one has suggested that passwd --stdin,
How ever my passwd file does not have that option.
Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help