strange message when login 7.0 CURRENT
Dominique Goncalves
dominique.goncalves at gmail.com
Thu Sep 27 09:06:07 PDT 2007
Hi,
On 9/27/07, vuthecuong <cuongvt at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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."
More information about the freebsd-questions
mailing list