tercel04 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am trying to write a script that does this: <user> <password>
<user> is valid
Basiscally i want the script to validate the command line inputs against the NIS passwords.
Is there a perl module that can do this?

I was thinking, even if i could get a hash of <password> I could match it against the /etc/password entry.
Any thoughts??