mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-24 22:35:39 +02:00
Stop lastlog detection setting DISABLE_LASTLOG - this flag means
'never even try to get the last login time', whereas we want to try to use wtmp/wtmpx unless told otherwise. See loginrec.c:getlast_entry().
This commit is contained in:
parent
35ad6bee4b
commit
45cad51c70
@ -1010,8 +1010,8 @@ if test -z "$conf_lastlog_location"; then
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test -z "$conf_lastlog_location"; then
|
if test -z "$conf_lastlog_location"; then
|
||||||
AC_MSG_WARN([** Cannot find lastlog - disabling feature **])
|
AC_MSG_WARN([** Cannot find lastlog **])
|
||||||
AC_DEFINE(DISABLE_LASTLOG)
|
dnl Don't define DISABLE_LASTLOG - that means we don't try wtmp/wtmpx
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user