Bug 3080

Summary: gdm doesn't write utmp entry like xdm does...
Product: [Retired] Red Hat Linux Reporter: Joseph Malicki <malicki.1>
Component: gdmAssignee: David Mason <dcm>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: lcantey, mkp
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-31 19:08:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Malicki 1999-05-27 01:36:33 UTC
xdm writes utmp/wtmp entries during login/logout in
GiveConsole and TakeConsole like so:

GiveConsole:/usr/X11R6/bin/sessreg  -a -w "/var/log/wtmp" -u
"/var/run/utmp" \
TakeConsole:/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u
"/var/run/utmp" \

But gdm doesn't, so when I log in via gdm, I can see "0
users".. this isn't a really big deal, but is it possible
that it could be fixed to track logins/logouts via gdm?

Comment 1 Joseph Malicki 1999-05-27 02:59:59 UTC
This can be fixed by the following, could you please include in next
release?

mkdir /etc/X11/gdm/{Pre,Post}Session
cp /etc/X11/xdm/GiveConsole /etc/X11/gdm/PreSession/Default
cp /etc/X11/xdm/TakeConsole /etc/X11/gdm/PostSession/Default

Comment 2 Jay Turner 1999-05-27 14:34:59 UTC
This issue has been forwarded to a developer for further review

Comment 3 Michael K. Johnson 1999-07-12 20:57:59 UTC
Added mkp to CC so that he can evaluate this change for the next
version of gdm.

Comment 4 Elliot Lee 1999-08-31 19:08:59 UTC
*** This bug has been marked as a duplicate of 2614 ***