in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pam_sm_setcred()

martinko gamato at users.sf.net
Tue Jan 12 10:50:11 UTC 2010


martinko wrote:
> Hi,
>
> Since moving from 6.4 to 8.0 I see the following in /var/log/messages:
>
> Jan 8 09:39:04 mb-aw1n-bsd : in openpam_dispatch(): pam_nologin.so: no
> pam_sm_authenticate()
> Jan 8 09:39:04 mb-aw1n-bsd : in openpam_dispatch(): pam_nologin.so: no
> pam_sm_setcred()
>
> It seems to be triggered by x11/wdm port.
>
> $ grep wdm /etc/ttys
> ttyv8 "/usr/local/bin/wdm -nodaemon" xterm on secure
>
> However I'm not sure who is to blame -- FreeBSD or WDM .. ?
>

Hi,

I've just read that pam_nologin(8) changed in FreeBSD 7.0 and based on 
that I've prepared a patch that should solve the issue described above:

http://www.freebsd.org/cgi/query-pr.cgi?pr=142740 (ports/142740)

Regards,

Martin



More information about the freebsd-stable mailing list