Interesting enough after I sent the last email. I did some research (yes it was quick research) and came up with a couple things that might iterest you. There is a package called MD%-crypt which should suit your purpose (http://search.cpan.org/doc/LUISMUNOZ/Crypt-PasswdMD5-1.2/PasswdMD5.pm). I also found, http://search.cpan.org/doc/SSNODGRA/Unix-ConfigFile-0.06/PasswdFile.pm, which provides access to /etc/password and does everything for you. On Tue, 11 Jun 2002, Keller, Tim wrote:
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
---------------------------------------------- | Chuck Haines | AOL: CyberGrex | | GDC Webmaster | ICQ: 3707881 | | WPILA Lab Manager | Yahoo: CyberGrex_27 | | http://gdc.wpi.edu | MSN: CyberGrex | ---------------------------------------------- "Geek by nature, Linux by choice."