laziness, impatience, and hubris | |
PerlMonks |
Re^3: processing system user loginby Anno (Deacon) |
on Feb 26, 2007 at 10:37 UTC ( [id://602093]=note: print w/replies, xml ) | Need Help?? |
Never mind whether it's /etc/shadow or something else, the usual behavior is that getpwnam() retrieves the useless entry from /etc/passwd for non-privileged users and the encryption of the real password for root. Your code is
fine. What you need is not a module but sufficient privileges.
Anno
In Section
Seekers of Perl Wisdom
|
|