![]() |
![]()
| ![]() |
![]()
NAMEAuthen::Simple::Passwd - Simple Passwd authentication SYNOPSISuse Authen::Simple::Passwd; my $passwd = Authen::Simple::Passwd->new( path => '/etc/passwd' ); if ( $passwd->authenticate( $username, $password ) ) { # successfull authentication } # or as a mod_perl Authen handler PerlModule Authen::Simple::Apache PerlModule Authen::Simple::Passwd PerlSetVar AuthenSimplePasswd_path "/etc/passwd" <Location /protected> PerlAuthenHandler Authen::Simple::Passwd AuthType Basic AuthName "Protected Area" Require valid-user </Location> DESCRIPTIONAuthenticate against a passwd file. METHODS
SEE ALSOAuthen::Simple. Authen::Simple::Password. passwd(5). AUTHORChristian Hansen "ch@ngmedia.com" COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
|