🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4057

Re: how to log all the commands from a user

#4057
From: Cyrille Lefevre
Date: Wed, 31 Mar 1999 00:00
23 lines
2256 bytes
Villy Kruse <vek@pharmnl.ohout.pharmapartners.nl> wrote in message
news:7ct60h$6aj$1@pharmnl.ohout.pharmapartners.nl...
> In article <7cggri$k1m$1@front6.grolier.fr>,
> Olivier Decorse <o.decorse@saprr.fr> wrote:
> >    Hello, i'm trying to log all the commands from a user. I know the
> >programm "script" exist but it seems to be impossible to integrate to a
> >.cshrc or a .login script, because "script" execute a shell (csh), and
> >r�-execute the scripts .cshrc, .login a second time, etc.
> >    Is there an other command, or an other way to do this ?
> >
> >    Thanks in advance for responding to o.decorse@saprr.fr
>
> Might consider enabling the accounting facility if your system has it.
> This will log a lot of things which might be useful not just for billing
> purposes.

for this, see man acctcom

Cyrille.
--
mailto:clefevre@no-spam.citeweb.net
Warning, remove "no-spam." to answer me back
Attention, enlevez "no-spam." pour me r�pondre
Technical Details
Message-ID: <7dukr5$6am$6@minus.oleane.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7cggri$k1m$1@front6.grolier.fr> <7ct60h$6aj$1@pharmnl.ohout.pharmapartners.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10952f,ad17661b481ee557
X-Google-Attributes: gid10952f,public
X-Google-Thread: 1020c6,ad17661b481ee557
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 110f2c,ad17661b481ee557
X-Google-Attributes: gid110f2c,public
X-Google-Thread: 106138,ad17661b481ee557
X-Google-Attributes: gid106138,public
X-Google-Thread: fcda7,ad17661b481ee557
X-Google-Attributes: gidfcda7,public
From: "Cyrille Lefevre" <clefevre@no-spam.citeweb.net>
Subject: Re: how to log all the commands from a user
Date: 1999/03/31
Message-ID: <7dukr5$6am$6@minus.oleane.net>
X-Deja-AN: 461390468
Content-Transfer-Encoding: 8bit
References: <7cggri$k1m$1@front6.grolier.fr> <7ct60h$6aj$1@pharmnl.ohout.pharmapartners.nl>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@oleane.net
X-Trace: minus.oleane.net 922932901 6486 194.2.4.195 (1 Apr 1999 02:15:01 GMT)
Organization: Guest of OLEANE
X-MSMail-Priority: Normal
Mime-Version: 1.0
Reply-To: "Cyrille Lefevre" <clefevre@no-spam.citeweb.net>
NNTP-Posting-Date: 1 Apr 1999 02:15:01 GMT
Newsgroups: comp.unix.admin,comp.sys.hp.hpux,fr.comp.os.linux,fr.comp.os.unix,comp.security.unix