2000-06-21 06:10:38 +08:00
|
|
|
Hello!
|
|
|
|
|
|
|
|
Thanks for downloading Linux-PAM.
|
|
|
|
|
|
|
|
NOTES:
|
|
|
|
|
2000-11-20 07:54:01 +08:00
|
|
|
How to use it is as follows:
|
2000-06-21 06:10:38 +08:00
|
|
|
|
2020-03-13 16:30:55 +08:00
|
|
|
Please look at the ci/install_dependencies.sh for the necessary
|
|
|
|
prerequisite packages to be able to build the Linux-PAM. The script
|
|
|
|
is targeted at Debian based Linux distributions so the package
|
|
|
|
names and availability might differ on other distributions.
|
|
|
|
|
2019-07-16 19:10:40 +08:00
|
|
|
If you check out the sources from git, install Autotools and generate
|
2020-02-29 19:07:14 +08:00
|
|
|
configuration scripts, ensuring you have the minimum packages installed,
|
|
|
|
the ci scripts may help here:
|
2019-07-16 19:10:40 +08:00
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
Then compile:
|
|
|
|
|
2000-11-20 07:54:01 +08:00
|
|
|
./configure --help | less
|
|
|
|
./configure <your-options>
|
|
|
|
make
|
2000-06-21 06:10:38 +08:00
|
|
|
|
2006-08-05 16:03:11 +08:00
|
|
|
To make sure everything was compiled correct, run:
|
|
|
|
|
|
|
|
make check
|
|
|
|
|
2007-12-18 20:55:38 +08:00
|
|
|
If a test fails, you should not continue to install this build.
|
|
|
|
These tests require a suitable file /etc/pam.d/other; if necessary,
|
|
|
|
create such a file containing, e.g., these five lines (not indented)
|
|
|
|
|
|
|
|
#%PAM-1.0
|
|
|
|
auth required pam_deny.so
|
|
|
|
account required pam_deny.so
|
|
|
|
password required pam_deny.so
|
|
|
|
session required pam_deny.so
|
|
|
|
|
2006-08-05 16:03:11 +08:00
|
|
|
|
2000-11-20 08:01:49 +08:00
|
|
|
Note, if you are worried - don't even think about doing the next line
|
|
|
|
(most Linux distributions already support PAM out of the box, so if
|
|
|
|
something goes wrong with installing the code from this version your
|
|
|
|
box may stop working..)
|
2000-06-21 06:10:38 +08:00
|
|
|
|
2000-11-20 07:54:01 +08:00
|
|
|
make install
|
2000-06-21 06:10:38 +08:00
|
|
|
|
2005-08-18 20:59:47 +08:00
|
|
|
That said, please report problems to the bug reporting database
|
2020-03-06 03:33:12 +08:00
|
|
|
at https://github.com/linux-pam/linux-pam/issues .
|
2006-01-25 07:28:31 +08:00
|
|
|
|
2006-08-05 16:03:11 +08:00
|
|
|
You can run additional checks after installing by executing
|
|
|
|
|
|
|
|
make xtests
|
|
|
|
|
|
|
|
as root.
|
|
|
|
|
2007-06-25 19:09:32 +08:00
|
|
|
WARNING: Running "make xtests" can overwrite configuration data
|
|
|
|
or make the system insecure/unfunctional for a short time!
|
|
|
|
Backup all important data before!
|
|
|
|
|
2006-01-25 07:28:31 +08:00
|
|
|
To regenerate manual pages from the XML source files you need the
|
|
|
|
docbook-xsl stylesheets in version 1.69.1 or newer, older versions had
|
|
|
|
a bug which generates a broken layout.
|