]> git.ipfire.org Git - thirdparty/shadow.git/commit
man/: Install suauth.5 only if feature exists
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 12 Jan 2025 17:45:13 +0000 (18:45 +0100)
committerAlejandro Colomar <alx@kernel.org>
Wed, 15 Jan 2025 23:37:04 +0000 (00:37 +0100)
commit872325b1d3d0e89aeea9dd229ca1e0444f900bd3
treed61eaacb9d5bb187d4a322608167e775fbe0b599
parent65723c3c4704fde4cc8c94299123d3eeca81aadf
man/: Install suauth.5 only if feature exists

Support for /etc/suauth only exists if su is installed without
PAM support. If su is not installed (--without-su) or if PAM
support is enabled (default), do not install suauth.5 manual
page.

The SU_ACCESS preprocessor definition is used to decide if
feature exists or not. See links for more details.

Link: https://github.com/shadow-maint/shadow/blob/65723c3c4704fde4cc8c94299123d3eeca81aadf/src/su.c#L558-L581
Link: https://github.com/shadow-maint/shadow/blob/65723c3c4704fde4cc8c94299123d3eeca81aadf/configure.ac#L628-L654
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
man/Makefile.am