Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!EU.net!newsfeed.Austria.EU.net!newscore.univie.ac.at!03-newsfeed.univie.ac.at!fstgal00.tu-graz.ac.at!not-for-mail From: dada@sbox.tu-graz.ac.at (Martin Kammerhofer) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Q: Is there something wrong with the 'ac' command Date: 20 May 1997 13:42:12 GMT Organization: Graz University of Technology, Austria Lines: 21 Distribution: world Message-ID: <5ls9nk$m6e@fstgal00.tu-graz.ac.at> References: <337F45E3.7A97@XXsnet.net> <5lpc49$13c@fstgal00.tu-graz.ac.at> <EAFoCH.vu@sphynx.fdn.fr> <5lq7lc$o44@fstgal00.tu-graz.ac.at> NNTP-Posting-Host: freepass.tu-graz.ac.at X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41297 Martin Kammerhofer (dada@sbox.tu-graz.ac.at) wrote: : E.g. if you type 'login anotheruser' from your login-shell there will be no : entry in wtmp for logout, just another login record for your line (tty). : My program and last(1) know about that but maybe ac(8) doesn't? : Probably I'd better look at the sources (or use gdb) rather than making wild : guesses here... : Today during my lunch break I finally looked at ac(8) and fixed it. My guess was wrong, ac does know when to log a user out again (btw last(1) does not). The problem is (was) FreeBSD's naming convention for ptys (/dev/tty[pqrsPQRS]*) which isn't (resp. wasn't) handled by ac. I've send a PR with a patch to freebsd-gnats-submit, it's bin/3639 in the PR database. Martin -- __________________________________________________________________________ You know you have achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away. - Antoine de Saint Exupery.