From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 11:47:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3324C16A41F for ; Fri, 16 Dec 2005 11:47:39 +0000 (GMT) (envelope-from scott@lackluster.net) Received: from tinker.apex13.com (tinker.apex13.com [69.72.250.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DD7843D58 for ; Fri, 16 Dec 2005 11:47:38 +0000 (GMT) (envelope-from scott@lackluster.net) Received: from localhost (localhost.apex13.com [127.0.0.1]) by tinker.apex13.com (Postfix) with ESMTP id 1804539B01 for ; Fri, 16 Dec 2005 06:47:36 -0500 (EST) Received: from tinker.apex13.com ([127.0.0.1]) by localhost (tinker.apex13.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00706-05 for ; Fri, 16 Dec 2005 06:47:35 -0500 (EST) Received: from [192.168.0.108] (ip68-8-61-4.sd.sd.cox.net [68.8.61.4]) by tinker.apex13.com (Postfix) with ESMTP id 02BFF39AFF for ; Fri, 16 Dec 2005 06:47:34 -0500 (EST) Message-ID: <43A2A969.70105@lackluster.net> Date: Fri, 16 Dec 2005 03:47:53 -0800 From: Scott Smith User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.3 (20050822) (FreeBSD) at localhost Subject: pam_mysql problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 11:47:39 -0000 Hi, I have an issue when using pam_mysql. I'm using it with ssh and it is unable to find the library after a reboot. After my machine reboots, I have to manually restart sshd in order for it to find the library. This leads me to believe it's related to when ldconfig is run, but I'm pretty stumped and can't figure out exactly what needs to be done to fix it. I initially had an entry for the library in my pam config as "pam_mysql.so" which didn't work, so I tried copying it to /usr/lib. That didn't work, so I tried using the full path to pam_mysql.so. This still isn't working. Here is part of my pam config and a syslog entry: /etc/pam.d/sshd: auth sufficient /usr/local/lib/pam_mysql.so config_file=/usr/local/etc/pam-unix.conf Dec 16 06:29:07 tinker sshd[1008]: in openpam_load_module(): no /usr/local/lib/pam_mysql.so found So does anyone have some suggestions as to why this is happening? I found something from 2003 about it but the guy asked for an offline response :( Thanks, Scott -- scott@lackluster.net