🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4056

Re: how to log all the commands from a user

#4056
From: Villy Kruse
Date: Fri, 19 Mar 1999 00:00
19 lines
1684 bytes
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.


Villy
Technical Details
Message-ID: <7ct60h$6aj$1@pharmnl.ohout.pharmapartners.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7cggri$k1m$1@front6.grolier.fr>

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: vek@pharmnl.ohout.pharmapartners.nl (Villy Kruse)
Subject: Re: how to log all the commands from a user
Date: 1999/03/19
Message-ID: <7ct60h$6aj$1@pharmnl.ohout.pharmapartners.nl>
X-Deja-AN: 456430978
References: <7cggri$k1m$1@front6.grolier.fr>
X-Complaints-To: abuse@nl.uu.net
X-Trace: zonnetje.NL.net 921836369 19007 212.206.235.242 (19 Mar 1999 09:39:29 GMT)
Organization: A poorly-installed InterNetNews site
NNTP-Posting-Date: 19 Mar 1999 09:39:29 GMT
Newsgroups: comp.unix.admin,comp.sys.hp.hpux,fr.comp.os.linux,fr.comp.os.unix,comp.security.unix