🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4055

Re: how to log all the commands from a user

#4055
From: Frank Slootweg
Date: Thu, 18 Mar 1999 00:00
15 lines
1660 bytes
  If you do not use "-script", script(1) should not execute .login (see
the script(1) manual page for details).

  If the .cshrc file is written correctly, it should not be a problem if
it is executed multiple times. I.e. (IMHO) people should be able to type
csh when they already have or had a C-shell.

Olivier Decorse (odecorse@club-internet.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
Technical Details
Message-ID: <7cr9uk$mum$7@news.neth.hp.com>
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: fcda7,ad17661b481ee557
X-Google-Attributes: gidfcda7,public
X-Google-Thread: 1020c6,ad17661b481ee557
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 106138,ad17661b481ee557
X-Google-Attributes: gid106138,public
X-Google-Thread: 110f2c,ad17661b481ee557
X-Google-Attributes: gid110f2c,public
From: franks@neth.hp.com (Frank Slootweg)
Subject: Re: how to log all the commands from a user
Date: 1999/03/18
Message-ID: <7cr9uk$mum$7@news.neth.hp.com>
X-Deja-AN: 456174314
References: <7cggri$k1m$1@front6.grolier.fr>
Followup-To: comp.unix.admin,comp.sys.hp.hpux,fr.comp.os.linux,fr.comp.os.unix,comp.security.unix
Organization: NR
Newsgroups: comp.unix.admin,comp.sys.hp.hpux,fr.comp.os.linux,fr.comp.os.unix,comp.security.unix