PAM Authentication Module for Linux
This is a PAM module written to use MyPW's authentication service via XML-RPC. This is based on XML-RPC C-Client as well as the default sample PAM module that comes with the PAM source distribution.
General Instructions
Install the appropriate package for your distribution
Create a configuration file /lib/security/xmlrpc.conf to map your local users to their tokens. The format of the file is as follows:
local_user mypw_site mypw_authkey mypw_token_serial url
e.g.
michaeln mysite aslk1u401da2901 5999999 https://services.mypw.com/RPC2
Edit the proper PAM configuration file (e.g. /etc/pam.d/sshd) by adding the following line at the top:
auth sufficient pam_xmlrpc.so
[...]
Users not listed in xmlrpc.conf will be checked against the password file as normal.
Return to Developer Site
|