*BSD News Article 31723


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hippo.ru.ac.za!Braae.ru.ac.za!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Subject: Re: lastcomm, acct, sa, etc.
Message-ID: <CrBq5y.AnI@hippo.ru.ac.za>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Reply-To: csgr@cs.ru.ac.za
Organization: Rhodes University, Grahamstown, South Africa
References: <mldCrAy7E.5wJ@netcom.com>
Date: Mon, 13 Jun 1994 07:01:09 GMT
Lines: 18

In <mldCrAy7E.5wJ@netcom.com> mld@netcom.com (Matthew Deter) writes:

>How do I enable process account on FreeBSD?  The lastcomm manpage
>points to sa(8) and acct(8) but they are not in the FreeBSD dist, it
>seems.  I'd like to get lastcomm working;  can anyone help?

FreeBSD 1.1.0 does not have these commands in it.  You will have to get
the source from -current, and compile it.
If you are compiling the -current source under 1.1.0, you will need to
change the one unresolved reference to the function fgetln() to use
fgetline().  (This is in the file pdb.c)

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za