Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2007 17:40:57 +0200
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        vuthecuong <cuongvt@fpt.vn>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: strange message when login 7.0 CURRENT
Message-ID:  <7daacbbe0709270840y15c4279arb8d8a74b9ce5cd7b@mail.gmail.com>
In-Reply-To: <46FBCA89.7050602@fpt.vn>
References:  <46FBCA89.7050602@fpt.vn>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 9/27/07, vuthecuong <cuongvt@fpt.vn> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe0709270840y15c4279arb8d8a74b9ce5cd7b>