martinko
2010-Jan-08 09:55 UTC
in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pam_sm_setcred()
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 .. ? Regards, Martin
martinko
2010-Jan-12 10:50 UTC
in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pam_sm_setcred()
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