From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 16:06:07 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 E3E0F16A46B for ; Thu, 27 Sep 2007 16:06:06 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6C30413C48A for ; Thu, 27 Sep 2007 16:06:06 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1983414nfb for ; Thu, 27 Sep 2007 09:06:05 -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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=sbNN//4CE4VhfFBJ50cJuCAMHCcCesVz3sUxsnR4OlU=; b=WK71mx3sLtw4PIDmgicexFcuKQImHx9aa3K+pMSz9RtYCaeztEc0nI+691K1R5q1o/ZxNKNMOYBn0cskVaATlnR4PEB2kmO8pnQbc7qgCKdQ7uH42mGrB1ciQqF2h8yS2LFwOPthwGOauRH3WNr1GkI1QkjerMr1qJ8UHlPKv8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W+yEkvKsCs6UY75gJmK+UVlqviArXALyd3R8iCE8qdOkxyWMGbItyil7NJh5/mUhFpnDxFEN38yveuiQI1M0Be66jyAmm4R3K/RAswLsyxGqFGPwSolR5xFxuxon2p0WzijYXYrRajj1i7EyFPcNc5ourSmgLxZ8LwPAJ4cho8s= Received: by 10.78.81.20 with SMTP id e20mr1928140hub.1190907657836; Thu, 27 Sep 2007 08:40:57 -0700 (PDT) Received: by 10.78.158.18 with HTTP; Thu, 27 Sep 2007 08:40:57 -0700 (PDT) Message-ID: <7daacbbe0709270840y15c4279arb8d8a74b9ce5cd7b@mail.gmail.com> Date: Thu, 27 Sep 2007 17:40:57 +0200 From: "Dominique Goncalves" To: vuthecuong In-Reply-To: <46FBCA89.7050602@fpt.vn> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46FBCA89.7050602@fpt.vn> Cc: freebsd-questions@freebsd.org Subject: Re: strange message when login 7.0 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: Thu, 27 Sep 2007 16:06:07 -0000 Hi, On 9/27/07, vuthecuong wrote: > Everytime when I login to 7.0 CURRENT, this message > repeated. Is it harmless or harmful? And how can I solve it? > Tnx in advanced > > Sep 27 22:08:50 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_authenticate() > Sep 27 22:08:53 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_setcred() > Sep 27 22:09:00 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_setcred() > Sep 27 22:09:06 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_authenticate() > Sep 27 22:10:54 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_authenticate() > Sep 27 22:10:56 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no > pam_sm_setcred() There is a note in src/UPDATING about pam_nologin, I don't know if it applies to your problem : 20070610: The pam_nologin(8) module ceases to provide an authentication function and starts providing an account management function. Consequent changes to /etc/pam.d should be brought in using mergemaster(8). Third-party files in /usr/local/etc/pam.d may need manual editing as follows. Locate this line (or similar): auth required pam_nologin.so no_warn and change it according to this example: account required pam_nologin.so no_warn That is, the first word needs to be changed from "auth" to "account". The new line can be moved to the account section within the file for clarity. Not updating pam.conf(5) files will result in nologin(5) ignored by the respective services. HTH Regards. _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."