Go to file
Tobias Stoeckmann bde5b4c310 libpam: treat NUL in passwd files correctly
This already implies that the passwd file itself is broken. Yet do not
skip lines by accident due to fgets limitations.

As a positive side effect, arbitrarily long lines and user names are
supported now as well.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2023-12-06 20:50:41 +00:00
.github/workflows ci: add --enable-debug jobs to the ci matrix 2023-11-14 00:27:49 +01:00
ci ci: add --enable-debug jobs to the ci matrix 2023-11-14 00:27:49 +01:00
conf conf: cast to unsigned char for character handling function 2023-08-07 10:46:40 +00:00
doc pam_canonicalize_user: new module to canonicalize user name 2023-11-14 23:25:00 +00:00
dynamic Update .gitignore files 2011-10-27 14:55:55 +00:00
examples examples/tty_conv: fix build on musl 2023-05-12 02:09:07 +00:00
libpam libpam: treat NUL in passwd files correctly 2023-12-06 20:50:41 +00:00
libpam_misc libpam_misc: use sig_atomic_t instead of int 2023-12-05 21:47:16 +00:00
libpamc libpamc: cast to unsigned char for character handling function 2023-08-07 10:46:40 +00:00
m4 Enable format compiler warnings 2023-01-30 16:36:57 +00:00
maint maint: update release procedure 2020-11-24 18:00:00 +00:00
modules libpam: treat NUL in passwd files correctly 2023-12-06 20:50:41 +00:00
po po: update translations using Weblate (Slovak) 2023-06-06 08:00:00 +00:00
tests tests: free return value of _pam_mkargv() 2023-08-07 12:26:41 +02:00
xtests pam_shells: Added xtest test case 2022-12-07 16:24:09 +01:00
.gitignore Update .gitignore file 2022-01-24 08:00:00 +00:00
AUTHORS Relevant BUGIDs: none 2005-12-16 17:52:36 +00:00
autogen.sh autotools: enable warnings 2020-08-03 16:15:47 +02:00
CHANGELOG Fix whitespace issues 2011-10-26 23:56:54 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2011-10-27 14:55:55 +00:00
configure.ac pam_canonicalize_user: new module to canonicalize user name 2023-11-14 23:25:00 +00:00
COPYING Fix whitespace issues 2011-10-26 23:56:54 +00:00
Copyright Fix whitespace issues 2011-10-26 23:56:54 +00:00
gitlog-to-changelog gitlog-to-changelog: update from gnulib 2020-06-03 08:00:00 +00:00
Make.xml.rules.in build: fix --enable-openssl 2023-04-20 13:10:06 +00:00
Makefile.am configure.ac: add --enable-examples option 2023-05-11 05:16:06 +00:00
NEWS Prepare for 1.5.3 release 2023-04-29 11:11:00 +00:00
pgp.keys.asc pgp.keys.asc: update 2023-03-30 20:00:00 +00:00
README README: fix typo 2022-01-06 08:00:00 +00:00
README-hacking Generate ChangeLog from git log 2011-10-27 14:55:55 +00:00
zanata.xml Project registered at Zanata (fedora.zanata.org) for translations. 2016-04-14 17:48:03 +02:00

Hello!

Thanks for downloading Linux-PAM.

NOTES:

How to use it is as follows:

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.

If you check out the sources from git, install Autotools and generate
configuration scripts, ensuring you have the minimum packages installed,
the ci scripts may help here:

      ./autogen.sh

Then compile:

      ./configure --help | less
      ./configure <your-options>
      make

To make sure everything was compiled correct, run:

      make check

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


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..)

      make install

That said, please report problems to the bug reporting database
at https://github.com/linux-pam/linux-pam/issues .

You can run additional checks after installing by executing

      make xtests

as root.

WARNING: Running "make xtests" can overwrite configuration data
or make the system insecure/unfunctional for a short time!
Backup all important data before!

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.