lemonldap-ng/doc/sources/admin/authpam.rst

53 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2020-05-14 23:29:41 +02:00
PAM
===
============== ===== ========
Authentication Users Password
============== ===== ========
2020-05-18 09:56:39 +02:00
2020-05-14 23:29:41 +02:00
============== ===== ========
Presentation
------------
LL::NG can use `Pluggable authentication
module <https://en.wikipedia.org/wiki/Pluggable_authentication_module>`__
as a simple authentication backend.
Configuration
-------------
Install Authen::PAM
~~~~~~~~~~~~~~~~~~~
You have to install the corresponding Perl module.
For CentOS/RHEL:
2020-05-21 15:13:24 +02:00
.. code-block:: shell
2020-05-14 23:29:41 +02:00
yum install perl-Authen-PAM
In Debian/Ubuntu, install the library through apt-get command
2020-05-21 15:13:24 +02:00
.. code-block:: shell
2020-05-14 23:29:41 +02:00
apt-get install libauthen-pam-perl
Configuration of LemonLDAP::NG
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In Manager, go in ``General Parameters`` > ``Authentication modules``
and choose PAM for authentication.
2020-05-18 09:56:39 +02:00
.. tip::
2020-05-14 23:29:41 +02:00
You can then choose any other module for users and
password.
Then, go in ``PAM parameters``:
- **Authentication level**: authentication level for PAM module
- **PAM service**: the PAM service to use *(default: login)*