From owner-freebsd-questions@FreeBSD.ORG Sat Sep 1 11:21:09 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 88BDF16A417 for ; Sat, 1 Sep 2007 11:21:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5980E13C459 for ; Sat, 1 Sep 2007 11:21:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id C2D501CC38 for ; Sat, 1 Sep 2007 03:20:59 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 1 Sep 2007 13:20:58 +0200 User-Agent: KMail/1.9.7 References: <46D928E2.1050907@lazlarlyricon.com> In-Reply-To: <46D928E2.1050907@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709011320.58769.fbsd.questions@rachie.is-a-geek.net> Subject: Re: PAM issues in -CURRENT 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: Sat, 01 Sep 2007 11:21:09 -0000 On Saturday 01 September 2007 10:54:58 Rolf G Nielsen wrote: > I just installed 7.0-CURRENT (after someone said on this list that it's > very stable and there are very few bugs left). So far it seems to work > fine, but there's one thing that bothers me. I repeatedly get the > following messages in the console: > > in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() > in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() > > One of those, or sometimes both, appear every time someone logs in, and > since I use fetchmail to get mail from several accounts and deliver them > locally, and then a local POP3 server from which my mail clients gets > the mail, the logins, and thus the warning/error messages, are quite > frequent. > > Now for my actual questions: > > 1. How severe are those messages? Should I assume that there are > security holes? Don't think so. I think you didn't recompile PAM-aware software (like fetchmail and qpopper) so PAM warns you they didn't call the proper functions. > 2. How do I get rid of the messages? No matter how severe they are, I do > NOT want them filling up the console. So how could I correct the problem? Silence it by altering auth.notice to auth.none on the /dev/console line in /etc/syslog.conf and then restart syslogd (/etc/rc.d/syslogd restart). > 2a. Why do those messages appear at all? Could I have done something > wrong when building and installing world and/or kernel? I think it's mostly the port software. Sshd for instance shouldn't generate this problem. -- Mel