Re: How to log all commands?
From: Martin Vaeth (vaeth_at_mathematik.uni-wuerzburg.de)
Date: 05/31/05
- Next message: Nekromancer: "Re: How to log all commands?"
- Previous message: Mouse: "Re: Advice needed on SELinux policy"
- In reply to: c0ntex: "Re: How to log all commands?"
- Next in thread: Nekromancer: "Re: How to log all commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 30 May 2005 22:01:22 GMT
c0ntex <c0ntexB@gmail.com> wrote:
> Also unsetting the HISTFILE or HISTSIZE variables will
> tamper with logging, so make sure to set them "readonly".
This is only annoying for the users and does not prevent them
to execute unlogged commands anyway if they really want to
(unless they have almost no permissions at all).
For example, users might simply execute their commands in a script
or open a new bash in which the above variables are not readonly
(observe that the readonly status of variables is not exported),
execute their own modified version of bash etc.
- Next message: Nekromancer: "Re: How to log all commands?"
- Previous message: Mouse: "Re: Advice needed on SELinux policy"
- In reply to: c0ntex: "Re: How to log all commands?"
- Next in thread: Nekromancer: "Re: How to log all commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|