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:
#verifyuser.pl <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??
#verifyuser.pl <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??
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl NIS authentication
by archfool (Monk) on Jun 28, 2007 at 17:20 UTC | |
by tercel04 (Initiate) on Jun 28, 2007 at 18:43 UTC | |
Re: Perl NIS authentication
by idsfa (Vicar) on Jun 29, 2007 at 13:39 UTC |
Back to
Seekers of Perl Wisdom