James Andrewartha wrote:
Alexander wrote:
Hello.
I have strange situation: gdm logins are not recorded on our terminal server. Other logins, such as ssh , are recorded and have last entries...

# uname -a SunOS xx.xx.xx 5.11 snv_97 i86pc i386 i86pc

After user login/logout from gdm:
# ls -l /var/adm/utmpx -rw-r--r-- 1 root bin 77376 сент. 21 17:56 /var/adm/utmpx # ls -l /var/adm/wtmpx -rw-rw-r-- 1 adm adm 4092 сент. 21 17:31 /var/adm/wtmpx

last doesn't show this session.

I'm seeing this too, although on a regular desktop running snv_111b. We're using LDAP, the relevant lines from pam.conf are:

other   auth requisite          pam_authtok_get.so.1
other   auth required           pam_dhkeys.so.1
other   auth required           pam_unix_cred.so.1
other   auth binding            pam_unix_auth.so.1 server_policy
other   auth required           pam_ldap.so.1
other   account requisite       pam_roles.so.1
other   account binding         pam_unix_account.so.1 server_policy
other   account required        pam_ldap.so.1
other   session required        pam_unix_session.so.1

I've turned gdm debugging on as Brian asked, I'll have to wait to see the results. I noticed this a month or two ago, and at the time found some reference that made me think it not working was a known bug, but I can't find it again.

Here's the relevant debug lines:

Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Display device is /dev/console for display :0 Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Writing session utmp-wtmp record Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using username matches Sep 22 14:20:29 persephone gdm-binary[815]: [ID 702911 daemon.warning] DEBUG: Attempting to parse key string: daemon/Greeter=/usr/lib/gdmlogin Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using type USER_PROCESS Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using pid 815 Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using time 1253600429 Sep 22 14:20:29 persephone gdm-binary[815]: [ID 702911 daemon.warning] DEBUG: Attempting to parse key string: daemon/PreSessionScriptDir=/etc/X11/gdm/PreSession/ Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using id :0 Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using line console Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using hostname

                                                              :0
Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Login utmp/wtmp record Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Adding new utmp record Sep 22 14:20:29 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Sending SESSPID == 815 for slave 788

Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Display device is /dev/console for display :0 Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Writing logout utmp-wtmp record Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using type DEAD_PROCESS Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using pid 815 Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using time 1253601108 Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using id :0 Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using line console Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: utmp-wtmp: Using hostname

                                                              :0
Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Logout utmp/wtmp record Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Removing utmp record Sep 22 14:31:48 persephone gdm-binary[788]: [ID 702911 daemon.warning] DEBUG: Sending SESSPID == 0 for slave 788

--
James Andrewartha
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to