As has been reported on the osol-discuss mailing list recently, GDM is not writing wtmp entries.
The problem is a simple error in the GDM slave daemon where it is calling updwtmpx with the first argument set improperly to "/var/log/wtmp" instead of "/var/adm/wtmpx". The issue is caused because Solaris stores the wtmpx file in a different location than on other distros, and the code does not handle this. Fixing the code so it uses the right filename fixes the problem. Attached patch fixes this. Brian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdm-14-wtmp.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090923/fbdc3b38/attachment.ksh>
