No longer need bypass_last_login on HP-UX, warnings work with clang.

Also add deb package names for pam and ldap devel on Linux.
This commit is contained in:
Todd C. Miller
2019-09-17 08:40:48 -06:00
parent d35670d1ae
commit 2707acf23f

22
INSTALL
View File

@@ -28,7 +28,7 @@ Simple sudo installation
For most systems and configurations it is possible simply to:
0) If you are upgrading from a previous version of sudo
please read the info in the UPGRADE file before proceeding.
please read the info in the doc/UPGRADE file before proceeding.
1) Read the `OS dependent notes' section for any particular
"gotchas" relating to your operating system.
@@ -561,10 +561,11 @@ Development options:
become corrupted.
--enable-warnings
Enable compiler warnings when building sudo with gcc.
Enable compiler warnings when building sudo with gcc or clang.
--enable-werror
Enable the -Werror compiler option when building sudo with gcc.
Enable the -Werror compiler option when building sudo with
gcc or clang.
--with-devel
Configure development options. This will enable compiler warnings
@@ -906,18 +907,13 @@ HP-UX:
sudo session required libpam_hpsec.so.1 bypass_umask
If every command run via sudo displays information about the last
successful login and the last authentication failure you should
make use an /etc/pam.conf line like:
sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login
Linux:
PAM and LDAP headers are not installed by default on most Linux
systems. You will need to install the "pam-dev" package if
/usr/include/security/pam_appl.h is not present on your system.
If you wish to build with LDAP support you will also need the
openldap-devel package.
systems. You will need to install the "pam-dev" (rpm) or
libpam0g-dev (deb) package if /usr/include/security/pam_appl.h
is not present on your system. If you wish to build with LDAP
support you will also need the "openldap-devel" (rpm) or
"libldap2-dev" (deb) package.
Mac OS X:
The pseudo-tty support in the Mac OS X kernel has bugs related