[Bug 229147] security/openssh-portable: fix incorrect use_pam initialization

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 19 09:46:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229147

            Bug ID: 229147
           Summary: security/openssh-portable: fix incorrect use_pam
                    initialization
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: rs at bytecamp.net
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)
          Assignee: bdrewery at FreeBSD.org
 Attachment #194396 text/plain
         mime type:

Created attachment 194396
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194396&action=edit
rebuilt patchfile

Due to the patch files/patch-servconf.c, the configuration variable
option->use_pam is statically initialized with the value 1. This in fact
disables nologin behaviour when PAM is NOT selected during build. See line 1516
in session.c.

I've edited servconf.c and rebuild the patch with "make makepatch". The whole
patchfile is attached (3 lines added). Tests resulted in the correct behaviour.

Regards,
Robert Schulze

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


More information about the freebsd-ports-bugs mailing list