[Bug 297508] FreeBSD-ssh has no dependency on FreeBSD-pam

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297508

            Bug ID: 297508
           Summary: FreeBSD-ssh has no dependency on FreeBSD-pam
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Installing FreeBSD-ssh alone (without FreeBSD-pam) produces a
sshd that starts and listens fine, but refuses every connection:
the per-connection auth process hits a fatal PAM error as soon as
auth begins.

Steps to Reproduce:

1) Minimal FreeBSD 15.1 system with only FreeBSD-runtime installed.
2) pkg install FreeBSD-ssh   (do not install FreeBSD-pam)
3) ssh-keygen -A; /usr/sbin/sshd -p 2222
4) ssh -p 2222 user@host

[ahze@saturn ~]$ pkg rquery "%B" FreeBSD-ssh|grep pam
libpam.so.6
[ahze@saturn ~]$ pkg rquery "%dn" FreeBSD-ssh
[ahze@saturn ~]$  

Suggested fix: add FreeBSD-pam as a dependency of FreeBSD-ssh.

Related bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296383

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.