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

the passwd is set to nothing.. so the user only has to hit enter!

Kingsly


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to