you can do a script using expect (I believe expect comes with the distro.. but I could be wrong) spawn passwd [lindex $argv 0] set password [lindex $argv 1] expect "password:" send "$password\r" expect "password:" send "$password\r" expect eof David Scott -----Original Message----- From: Linux News User [mailto:linux@ods.co.cr] Sent: Wednesday, October 11, 2000 10:27 AM To: suse-linux-e@suse.com Subject: [SLE] Change user password and it's double question ? Importance: High Hi to all.... Is there any way to avoid when changing a password for a "x" user the double question about the password ? It's to implement a script to change user's password automatically ? Thanks. --ed -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq