From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 02:26:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A3EC16A41B for ; Sun, 30 Sep 2007 02:26:17 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id CA4E413C455 for ; Sun, 30 Sep 2007 02:26:16 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so6350424pyb for ; Sat, 29 Sep 2007 19:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fZocmLUzJ/snl4y7CD4LaPeGVwCaY+sAo9tgRdfIzh8=; b=Qj5nyIG3eMrYLZvwWk0xlWuX4Xm3UNdSnXhWHE8E4NuhC/OtNEZa4n9GIlNxHr2lfG8ni5r+N+TudRUcSkIM6Iy7B/n+qRsnUjB/tfGBF4zYnxCPEDpfgfaf+KUQyQ4KoN6VKWP5/z47IJBvcW7dLf8ByF1CGE2uAz7053sEF3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D9SxFvQWRARCLux2p2e2ey/K3QZfb9L/Sx4hagPhVjnGNoNmwuHnRFgtpYeDe6YCTVpeTlGytx/wOCIgg6sHXxnGqz1U8l7PhIw3M3RY7y9aM4zY1NCa6wSDBrwZpjIPN+cUCE+wVsI9rBpLzt6qReFvHMIq4xhwskAaXeXwR4Q= Received: by 10.35.98.3 with SMTP id a3mr5773937pym.1191119175318; Sat, 29 Sep 2007 19:26:15 -0700 (PDT) Received: by 10.35.128.7 with HTTP; Sat, 29 Sep 2007 19:26:15 -0700 (PDT) Message-ID: <8cb6106e0709291926v35be569an612a5083562d07fc@mail.gmail.com> Date: Sat, 29 Sep 2007 22:26:15 -0400 From: "Josh Carroll" To: "FreeBSD Mailing List" In-Reply-To: <8cb6106e0709290829m780a4942nb0e87860268b71df@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8cb6106e0709290829m780a4942nb0e87860268b71df@mail.gmail.com> Subject: Re: sshd+pam problem on a fresh 6.2-RELEASE (amd64) install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2007 02:26:17 -0000 > 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