Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: How to get xdm to make wtmp and utmp file entries? Message-ID: <5723@helios.ee.lbl.gov> Date: 31 May 90 22:14:01 GMT References: Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Distribution: comp Organization: lbl Lines: 16 X-Local-Date: 31 May 90 15:14:01 PDT In article , 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. Is there a good way to get |> them to do this, or is there a good reason why they |> shouldn't? xdm doesn't make the entries in these files, but you can make the main xterm do it with the +ut and -ls options. The +ut makes it write in the /etc/utmp file and the -ls is required to make it write in the /etc/wtmp file. The -ls also makes it read and execute your .login file. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.