documentation:2.1:authpam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:authpam [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== PAM ======
 +
 +^  Authentication  ^  Users  ^  Password  ^
 +|  ✔  | | |
 +
 +===== Presentation =====
 +
 +LL::NG can use [[https://en.wikipedia.org/wiki/Pluggable_authentication_module|Pluggable authentication module]] as a simple authentication backend.
 +
 +===== Configuration =====
 +
 +==== Install Authen::PAM ====
 +
 +You have to install the corresponding Perl module.
 +
 +For CentOS/RHEL:
 +<code shell>
 +yum install perl-Authen-PAM
 +</code>
 +
 +In Debian/Ubuntu, install the library through apt-get command
 +<code shell>
 +apt-get install libauthen-pam-perl
 +</code>
 +
 +==== Configuration of LemonLDAP::NG ====
 +
 +In Manager, go in ''General Parameters'' > ''Authentication modules'' and choose PAM for authentication.
 +
 +<note tip>You can then choose any other module for users and password.</note>
 +
 +Then, go in ''PAM parameters'':
 +  * **Authentication level**: authentication level for PAM module
 +  * **PAM service**: the PAM service to use //(default: login)//