4 Thanks for downloading Linux-PAM.
8 How to use it is as follows:
10 If you check out the sources from git, install Autotools and generate
11 configuration scripts:
17 ./configure --help | less
18 ./configure <your-options>
21 To make sure everything was compiled correct, run:
25 If a test fails, you should not continue to install this build.
26 These tests require a suitable file /etc/pam.d/other; if necessary,
27 create such a file containing, e.g., these five lines (not indented)
30 auth required pam_deny.so
31 account required pam_deny.so
32 password required pam_deny.so
33 session required pam_deny.so
36 Note, if you are worried - don't even think about doing the next line
37 (most Linux distributions already support PAM out of the box, so if
38 something goes wrong with installing the code from this version your
39 box may stop working..)
43 That said, please report problems to the bug reporting database
46 You can run additional checks after installing by executing
52 WARNING: Running "make xtests" can overwrite configuration data
53 or make the system insecure/unfunctional for a short time!
54 Backup all important data before!
57 If you do not wish to make the modules dynamically loadable, but
58 build a static libpam including all PAM modules, you have to call:
60 ./configure --enable-static-modules --disable-pie
62 To run the build checks with static modules, you need to run the
63 following command: make -C test check && make check
66 To regenerate manual pages from the XML source files you need the
67 docbook-xsl stylesheets in version 1.69.1 or newer, older versions had
68 a bug which generates a broken layout.