A module for authorization by way of the "pwauth" program

This commit adds support for using the 'pwauth' program for
authentication to the system.  It detects all of the documented return
codes for pwauth.  The pwauth program can perform system
authentication with or without PAM or login.conf.
This commit is contained in:
Michael Trausch authored and Andrew McMillan committed 2010-05-14 22:16:13 +12:00
1 parent a5d162ccfa
commit f3a6cb59f6
2 files changed
+171

No files matched your search

+7
View File
@@ -331,6 +331,13 @@ $c->schedule_private_key = 'PRIVATE-KEY-BASE-64-DATA';
// );
//include('drivers_squid_pam.php');
/**
* Authentication against PAM/system password database using pwauth.
*/
//$c->authenticate_hook = array('call' => 'PWAUTH_PAM_check',
// 'config' => array('path' => '/usr/sbin/pwauth',
// 'email_base' => 'example.com'));
//include('drivers_pwauth_pam.php');
/**
* The default locale will be "en_NZ";