Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: HOW do i..

On Wed, Dec 27, 2000 at 11:01:36AM -0500,
Vlad <tmd@xxxxxxxxx> wrote:
> > I suspect, you want
> > 
> > - get log of all user activity
> > - prevent user from modifying this log
> > 
> > This can't be done, sorry. To save history entries in a file, this file should
> > be user-writable. It does not matter, whom this file belongs to. History file
> > is written (if at all) after every command. It means, user can edit it at any
> > time and remove any entries. This applies to any logging.
> is there a way to simultaneously log user's activity under root? 

You can always spy his tty.

There's even tools for that out there, search freshmeat and such...


 Thomas Köhler Email:   jean-luc@xxxxxxxxxxxxxxxxx     | LCARS - Linux
     <><        WWW:     http://jeanluc-picard.de      | for Computers
                IRC:             jeanluc               | on All Real
               PGP public key available from Homepage! | Starships

Attachment: pgpna6ir4nyCa.pgp
Description: PGP signature

Messages sorted by: Reverse Date, Date, Thread, Author