Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!hollie.rdg.dec.com!decvax.DEC.COM!evans From: evans@decvax.DEC.COM (Marc Evans) Newsgroups: comp.unix.ultrix Subject: Re: Problem with last on Ultrix 4.1 Keywords: help, please Message-ID: <524@decvax.decvax.dec.com.UUCP> Date: 25 Jan 91 19:46:09 GMT References: <1991Jan20.185657.20873@ariel.unm.edu> Sender: news@decvax.dec.com.UUCP Reply-To: evans@decvax.DEC.COM Distribution: comp.unix.ultrix Organization: Synergytics Lines: 21 In article <1991Jan20.185657.20873@ariel.unm.edu>, andrew@triton.unm.edu (Andrew Eberhart) writes: |> |> I am having problems with Ultrix 4.1 (X11R4) on my DEC 5000's. |> |> login (or init, I'm not sure which) is not recording the users who |> log into the console of the machines. It does not show any of the |> xterms coming from console, either. Therefore, last is not too |> useful since most of the logins into the machines is from the consoles. The easiest way to deal with this is to modify the /usr/lib/xdm/Xstartup script to add an entry to /var/adm/wtmp as well as modify the /usr/lib/xdm/Xreset script to remove the entry from /var/adm/wtmp. In the R4 source tree there is support for this in clients/xdm/sessreg.c which knows how to deal with both BSD and SYSV wtmp files. - Marc -- =========================================================================== Marc Evans - WB1GRH - evans@decvax.DEC.COM | Synergytics (603)635-8876 Unix and X Software Contractor | 21 Hinds Ln, Pelham, NH 03076 ===========================================================================