The stupid question is the question not asked | |
PerlMonks |
Re: user authentication using unix password fileby marcink (Monk) |
on Jun 08, 2001 at 02:24 UTC ( [id://86789]=note: print w/replies, xml ) | Need Help?? |
Assuming your machine is using crypt: yes, it's easy though on most systems you'd need /etc/shadow, which usually is readable only by root. Anyway, the code:
Update: Oops, misunderstood your question. Seems like serious caffeine shortage. The proper answer would probably be: use Authen::PAM ;-) -mk
In Section
Seekers of Perl Wisdom
|
|