Bug 142740 - x11/wdm: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pam_sm_setcred()
Summary: x11/wdm: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() / pa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Soeren Straarup
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 10:40 UTC by martinko
Modified: 2011-04-19 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (530 bytes, patch)
2010-01-12 10:40 UTC, martinko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description martinko 2010-01-12 10:40:01 UTC
Since moving from 6.4 to 8.0 I can 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 is triggered by x11/wdm port's wdm.pam configuration that has not been updated to reflect changes in pam_nologin(8) introduced with FreeBSD 7.0.

Fix: Patch attached with submission follows:
How-To-Repeat: Log in/out using WDM and check /var/log/messages.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-12 10:40:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->xride

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-04-19 19:20:17 UTC
xride       2011-04-19 18:20:06 UTC

  FreeBSD ports repository

  Modified files:
    x11/wdm              Makefile 
    x11/wdm/files        wdm.pam 
  Log:
  Fixing a pam_nologin(8) warning.
  
  PR:             142740
  Submitted by:   martinko <gamato@users.sf.net>
  
  Revision  Changes    Path
  1.86      +1 -1      ports/x11/wdm/Makefile
  1.3       +2 -1      ports/x11/wdm/files/wdm.pam
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Soeren Straarup freebsd_committer freebsd_triage 2011-04-19 19:20:41 UTC
State Changed
From-To: open->closed

Committed thanks