Debian Codegraph @

doc/sources/admin/authpam.rst

raw
1 PAM
2 ===
3
4 ============== ===== ========
5 Authentication Users Password
6 ============== ===== ========
7 ✔
8 ============== ===== ========
9
10 Presentation
11 ------------
12
13 LL::NG can use `Pluggable authentication
14 module <https://en.wikipedia.org/wiki/Pluggable_authentication_module>`__
15 as a simple authentication backend.
16
17 Configuration
18 -------------
19
20 Install Authen::PAM
21 ~~~~~~~~~~~~~~~~~~~
22
23 You have to install the corresponding Perl module.
24
25 For CentOS/RHEL:
26
27 .. code-block:: shell
28
29 yum install perl-Authen-PAM
30
31 In Debian/Ubuntu, install the library through APT
32
33 .. code-block:: shell
34
35 apt install libauthen-pam-perl
36
37 Configuration of LemonLDAP::NG
38 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39
40 In Manager, go in ``General Parameters`` > ``Authentication modules``
41 and choose PAM for authentication.
42
43
44 .. tip::
45
46 You can then choose any other module for users and
47 password.
48
49 Then, go in ``PAM parameters``:
50
51 - **Authentication level**: authentication level for PAM module
52 - **PAM service**: the PAM service to use *(default: login)*