rvosa has asked for the wisdom of the Perl Monks concerning the following question:
but it neither does on OSX (10.4, intel) nor on x86 red hat (not sure if these are "ideal world") so I guess I misunderstood. What am I missing?use strict; use warnings; my @pwstruct = getpwnam('me'); my $plain = '****'; my $encrypted = $pwstruct[1]; if ( crypt( $plain, $encrypted ) eq $encrypted ) { print "ok"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: processing system user login
by Anno (Deacon) on Feb 26, 2007 at 10:12 UTC | |
by rvosa (Curate) on Feb 26, 2007 at 10:21 UTC | |
by GrandFather (Saint) on Feb 26, 2007 at 10:25 UTC | |
by Anno (Deacon) on Feb 26, 2007 at 10:37 UTC | |
|
Re: processing system user login
by almut (Canon) on Feb 26, 2007 at 10:58 UTC |