openssh: restore PrintLastLog option

Upstream's autoconf sets DISABLE_LASTLOG if lastlog.ll_line does not
exist, but PrintLastLog also works with utmpx and other mechanisms.

Reported upstream at
https://lists.mindrot.org/pipermail/openssh-unix-dev/2022-May/040242.html

PR:		209441
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2023-04-19 20:09:13 -04:00
parent f369f10dd8
commit 43c6b7a60a

View File

@ -113,7 +113,7 @@
/* #undef DISABLE_FD_PASSING */
/* Define if you don't want to use lastlog */
#define DISABLE_LASTLOG 1
/* #undef DISABLE_LASTLOG */
/* Define if you don't want to use your system's login() call */
/* #undef DISABLE_LOGIN */