Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!convex.UUCP!root From: root@convex.UUCP (Superuser) Newsgroups: comp.windows.x Subject: Lost mail for you Message-ID: <9006071735.AA16172@sushi> Date: 7 Jun 90 17:35:52 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 60 From pescadero.stanford.edu!expo.lcs.mit.edu!xpert-mailer Fri Jun 1 20:11:59 1990 remote from convex Received: by sushi (5.51/7.0) id AA05753; Fri, 1 Jun 90 20:11:59 CDT Received: by convex.COM (5.51/4.7) id AA06155; Fri, 1 Jun 90 20:11:51 CDT Received: from Erebus.Stanford.EDU by uxc.cso.uiuc.edu with SMTP (5.62+/IDA-1.2.8-900601) id AA01721 (for salevin%drlc1.UUCP@convex.com); Fri, 1 Jun 90 20:07:30 -0500 Received: from Hanauma.Stanford.EDU by erebus.Stanford.EDU with TCP; Fri, 1 Jun 90 18:09:53 PDT Received: by hanauma.stanford.edu (5.51/7.0) id AA29020; Fri, 1 Jun 90 18:07:11 PDT Received: from EXPO.LCS.MIT.EDU by Pescadero.Stanford.EDU (5.59/25-eef) id AA24685; Fri, 1 Jun 90 18:06:09 PDT Received: by expo.lcs.mit.edu; Fri, 1 Jun 90 15:26:01 EDT Received: from bloom-beacon.MIT.EDU by expo.lcs.mit.edu; Fri, 1 Jun 90 15:25:45 EDT Received: by bloom-beacon.MIT.EDU (5.61/25-eef) id AA03820; Fri, 1 Jun 90 14:11:54 EDT Received: from USENET by bloom-beacon.mit.edu with netnews for xpert@expo.lcs.mit.edu (xpert@expo.lcs.mit.edu) (contact usenet@bloom-beacon.mit.edu if you have questions) Date: 1 Jun 90 16:44:09 GMT From: convex!epb2.lbl.gov!envbvs (Brian V. Smith) Organization: lbl Subject: Re: How to get xdm to make wtmp and utmp file entries? Message-Id: <5728@helios.ee.lbl.gov> References: , <5723@helios.ee.lbl.gov>, Sender: convex!expo.lcs.mit.edu!xpert-request To: xpert@expo.lcs.mit.edu In article , mjd@central.cis.upenn.edu (Mark-Jason Dominus) writes: |> In article <5723@helios.ee.lbl.gov> envbvs@epb2.lbl.gov (Brian V. Smith) writes: |> > mjd@central.cis.upenn.edu (Mark-Jason Dominus) writes: |> > |> |> > |> Our xdm's don't seem to be logging logins and logouts in the |> > |> /etc/wtmp and /etc/utmp files. |> > |> > The -ls is required to make it write in the /etc/wtmp |> > file. The -ls also makes it read and execute your .login file. |> |> Thanks for the +ut tip; I must have missed it when I read |> the man page. But neither the R3 nor the R4 man pages say |> that -ls makes xterm write a wtmp entry, and, in fact, we |> had the -ls option set already, and no wtmp entries. |> |> Does it work for you? There is something strange that I didn't notice at first. You must use BOTH +ut and -ls to get xterm to write to both files. If you only specify +ut, you will see the use logged in (/etc/utmp), but the "last" command (/etc/wtmp) shows nothing for that user. The -ls option *BY ITSELF* doesn't seem to do anything with either file, but both options together will write to both files. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.