*BSD News Article 43080


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!uunet!bloom-beacon.mit.edu!paperboy.osf.org!bone.think.com!cass.ma02.bull.com!as02.bull.oz.au!melb.bull.oz.au!zen!sjg
From: sjg@zen.void.oz.au (Simon J. Gerraty)
Subject: Re: where is ac.c? for accounting?
Keywords: ac accounting
Organization: Zen programming...
Message-ID: <1995Feb27.100128.28968@zen.void.oz.au>
References: <3ijsee$2dq@crl2.crl.com>
Date: Mon, 27 Feb 1995 10:01:28 GMT
Lines: 22

breising@crl.com (Bill Reising) writes:
>I see it in the BSDI install manual mentioned...
>but where is it.. I can't find it in the source in BDSI or 4.4BSD-Lite...

You can pick up ac.c from any NetBSD (or FreeBSD I think) ftp archive.
I wrote it for NetBSD-1.0 and I believe it was picked up for FreeBSD
also (or they may have done their own...)

You should grab the manual page too as it has at least one new option.

     -t tty     Only do accounting logins on certain ttys.  The tty specifica-
                tion can start with '!' to indicate not this tty and end with
                '*' to indicate all similarly named ttys.  Multiple -t flags
                may be specified.

Apart from that it is compatible with ac(8) as found on SunOS.

--sjg
-- 
Simon J. Gerraty        <sjg@zen.void.oz.au>

#include <disclaimer>   /* imagine something _very_ witty here */