OpenPAM is an open source PAM library that focuses on simplicity, correctness, and cleanliness. https://openpam.org/
Go to file
Dag-Erling Smørgrav 96357f3c52 Add an openpam_straddch() function that appends a character to a
string, reallocating the string if necessary.

Add an openpam_readword() function that reads a single word from a
file according to the usual shell quoting rules.

Add an openpam_readlinev() function that uses openpam_readword() to
read an entire line and return a list of the words it contained.

Rewrite openpam_parse_chain() using openpam_readlinev(), which greatly
simplifies the code and ensures correct parsing of module option.

Thanks to Maëlle Lesage for pointing out the issue and writing an
early version of what became the main loop in openpam_readword().


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@547 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2012-04-01 15:01:21 +00:00
bin Short program that converts a PAM policy to C code that creates static 2012-03-31 17:04:29 +00:00
doc Add an openpam_straddch() function that appends a character to a 2012-04-01 15:01:21 +00:00
include Add an openpam_straddch() function that appends a character to a 2012-04-01 15:01:21 +00:00
lib Add an openpam_straddch() function that appends a character to a 2012-04-01 15:01:21 +00:00
misc More cases in which Fn should be used instead of Nm. 2012-03-31 23:12:54 +00:00
modules Update copyright and release notes. 2011-09-13 12:00:13 +00:00
CHECKLIST Convert $P4$ tags to $Id$. 2006-02-16 20:33:19 +00:00
CREDITS Add an openpam_straddch() function that appends a character to a 2012-04-01 15:01:21 +00:00
HISTORY Normalize whitespace 2012-01-10 21:05:42 +00:00
INSTALL Document --without-doc. 2006-04-12 10:31:52 +00:00
LICENSE Update year 2012-03-31 23:13:20 +00:00
Makefile.am Slight modernization 2010-03-09 17:32:17 +00:00
README Correct email address. 2009-10-29 17:10:22 +00:00
RELNOTES Update release notes for Lycopsida 2011-12-18 14:25:12 +00:00
autogen.des Build pamtest. 2011-11-02 23:42:51 +00:00
autogen.sh FreeBSD issues have been addressed. 2007-10-24 09:58:18 +00:00
configure.ac Short program that converts a PAM policy to C code that creates static 2012-03-31 17:04:29 +00:00

README

OpenPAM is an open source PAM library that focuses on simplicity,
correctness, and cleanliness.

OpenPAM aims to gather the best features of Solaris PAM, XSSO and
Linux-PAM, plus some innovations of its own.  In areas where these
implementations disagree, OpenPAM tries to remain compatible with
Solaris, at the expense of XSSO conformance and Linux-PAM
compatibility.

These are some of OpenPAM's features:

   - Implements the complete PAM API as described in the original PAM
     paper and in OSF-RFC 86.0; this corresponds to the full XSSO API
     except for mappings and secondary authentication.  Also
     implements some extensions found in Solaris 9.

   - Extends the API with several useful and time-saving functions.

   - Performs strict checking of return values from service modules.

   - Reads configuration from /etc/pam.d/, /etc/pam.conf,
     /usr/local/etc/pam.d/ and /usr/local/etc/pam.conf, in that order;
     this will be made configurable in a future release.

Please direct bug reports and inquiries to <des@des.no>.

$Id$