Date: Sat, 29 Sep 2007 22:26:15 -0400 From: "Josh Carroll" <josh.carroll@gmail.com> To: "FreeBSD Mailing List" <freebsd-questions@freebsd.org> Subject: Re: sshd+pam problem on a fresh 6.2-RELEASE (amd64) install Message-ID: <8cb6106e0709291926v35be569an612a5083562d07fc@mail.gmail.com> In-Reply-To: <8cb6106e0709290829m780a4942nb0e87860268b71df@mail.gmail.com> References: <8cb6106e0709290829m780a4942nb0e87860268b71df@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Any ideas? I tried doing an ldd on /usr/lib/pam* inside the > /etc/rc.d/sshd script, but the output is identical when it starts up > on boot as when I restart it. No missing libraries/etc. Problem solved! In going from 32-bit to 64-bit, my login.conf really needed to change. I had a default memory limit of 24MB. Which the sshd user was exceeding at boot time. I recompiled openpam with debugging enabled, and saw this message in /var/log/debug.log: Sep 29 22:03:03 pflog sshd[39515]: in openpam_dynamic(): /usr/lib/pam_opieaccess.so: /usr/lib/pam_op ieaccess.so: mmap of entire address space failed: Cannot allocate memory That's when I had a major "duh" moment and realized I should probably re-examine my login.conf settings. Figured I'd follow up with my solution, in case others run into it. Thanks, Josh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0709291926v35be569an612a5083562d07fc>