Date: Tue, 16 Dec 1997 23:18:15 +0700 (KRS) From: Victor Sudakov <vas@vas.tsu.tomsk.su> To: sfinn@thecore.com (Shaun) Cc: dwhite@resnet.uoregon.edu, questions@FreeBSD.ORG Subject: Re: ac does not work in FreeBSD 2.2.2 Message-ID: <199712161618.XAA03408@vas.tsu.tomsk.su> In-Reply-To: <Pine.BSF.3.96.971215163652.17271A-100000@guardian.thecore.com> from "Shaun" at "Dec 15, 97 04:41:49 pm"
index | next in thread | previous in thread | raw e-mail
Shaun wrote:
> On Mon, 15 Dec 1997, Doug White wrote:
> > On Mon, 15 Dec 1997, Victor Sudakov wrote:
> > > Hello.
> > >
> > > How can this be that ``ac'' does not show anything while ``last'' works?
> >
> > Because you have to turn on accouting.
> >
> > man accton
>
> Actually I don't believe the 'ac' command has anything to do with
> the 'accton' command. According to the man pages on 'ac' and 'last',
> they both depend on being able to read /var/log/wtmp. I am not sure
> why one would work while the other wouldn't though. Neither are suid
> and if one can see the file the other should as well. Make sure you
> don't have 'ac' aliased. I have shot myself in the foot a few times
> aliasing commands without realizing it right away.
vas: {3} /usr/sbin/ac
total 0.00
vas: {4}
--
Victor Sudakov
mailto:vas@obluo.tomsk.su
http://www.obluo.tomsk.su/~vas
PGP public key: finger vas@obluo.tomsk.su
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712161618.XAA03408>
