Well I came up with a kludgy solution... ... { perl snippet ... open($passwd,"| passwd --stdin useraccount") or die ("Unable to execute passwd...\n"); print $passwd $new_password_variable; close $passwd; ... } perl snippet ... -----Original Message----- From: Keller, Tim [mailto:Tim.Keller@stratus.com] Sent: Tuesday, June 11, 2002 9:41 AM To: 'wlug@wlug.org' Subject: [Wlug] Automatically setting passwords... Does anybody know of or created a script that can change a users password without human intervention? or on a side note, does anybody know how to in perl hash a textual password into a MD5 hash that would be suitable to be inserted into a shadow file. Thanks, Tim. _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug