[Bug 2278] New: 'configure --disable-lastlog' should mark PrintLastLog as unsupported in servconf.c

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Sep 17 21:22:56 EST 2014


https://bugzilla.mindrot.org/show_bug.cgi?id=2278

            Bug ID: 2278
           Summary: 'configure --disable-lastlog' should mark PrintLastLog
                    as unsupported in servconf.c
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: All
                OS: Solaris
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: brent.paulson at gmail.com

Created attachment 2476
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2476&action=edit
mark PrintLastLog as unsupported if DISABLE_LASTLOG is true

It is possible to disable all lastlog references in OpenSSH by using
the
following configure option:

  --disable-lastlog       disable use of lastlog even if detected

This also has the side-effect of removing support for the
'PrintLastLog'
sshd_config(8) keyword although it is still parsed and processed in
servconf.c as if it were possible to change.  The sshd_config(8) man
page describes the PrintLastLog option as:

     PrintLastLog
          Specifies whether sshd(1M) should print  the  date  and
          time  of  the  last  user  login  when  a  user logs in
          interactively.  The default is ``yes''.

Thus, in line with other sshd_config(8) keywords which are no longer
available when the associated functionality is disabled I'd like to
propose patching servconf.c to mark 'printlastlog' as unsupported if
DISABLE_LASTLOG is set.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list