CONTENTS

NAME

Authen::Simple::Passwd - Simple Passwd authentication

SYNOPSIS

use 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>    

DESCRIPTION

Authenticate against a passwd file.

METHODS

SEE ALSO

Authen::Simple.

Authen::Simple::Password.

passwd(5).

AUTHOR

Christian Hansen ch@ngmedia.com

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.