No description, website, or topics provided.
Perl6 C Makefile
Latest commit 4901f79 Feb 10, 2017 @retupmoca committed on GitHub Merge pull request #5 from zoffixznet/patch-1
Add mandatory "perl" META field
Permalink
Failed to load latest commit information.
lib/Auth/PAM use %?RESOURCES Dec 12, 2015
src use LibraryMake for building .so Apr 2, 2014
t Remove Pod::Coverage dep Dec 12, 2015
Build.pm use %?RESOURCES Dec 12, 2015
LICENSE Initial commit Mar 29, 2014
META.info Add mandatory "perl" META field Oct 26, 2016
README.md Doc cleanups Nov 16, 2015

README.md

module Auth::PAM::Simple

A simple way to authenticate against your local unix PAM service.

Note that the only service this has been tested against is the 'login' service. Patches and fixes are welcome.

Example Usage

my Bool $login-valid = authenticate('login', 'retupmoca', 'xxxxxx');

sub authenticate

sub authenticate(
    $service, 
    Str $user, 
    Str $pass
) returns Bool

Calls the PAM service $service, and attempts to authenticate using the given $user and $pass. Returns True for success and False for failure.