Re: logging
From: Kasper Dupont (kasperd@daimi.au.dk)Date: 01/30/02
- Previous message: Kasper Dupont: "Re: ssh connection"
- In reply to: Skibi de LaPies: "Re: logging"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Kasper Dupont <kasperd@daimi.au.dk> Date: Wed, 30 Jan 2002 18:34:11 +0100
Skibi de LaPies wrote:
>
> Kasper Dupont <kasperd@daimi.au.dk> wrote...
>
> > Usually bash writes the commands to its history file no matter
> > which tty it is runing on. But if you have an intruder he
> > could easilly remove commands from .bash_history, in addition
> > to that, bash has a command to enable and disable saving of
> > commands in the history.
> As I'm a rookie, I don't know any command that does so,
set +o history
set -o history
> but the problem is
> not logging on, when one is on tty, it logs, the problem is, that nothing is
> written when one works remotely, or does a sudo or su, no trace, no history.
Strange, whenever I use bash it always saves the history,
unless I explicitly turns it off.
> Even if I do so, and try to see the history after logout.
> greetz
> Skibi de LaPies
-- Kasper Dupont For sending spam use mailto:razor-report@daimi.au.dk
- Next message: ujay: "Re: How to "save" the current iptables setup"
- Previous message: Kasper Dupont: "Re: ssh connection"
- In reply to: Skibi de LaPies: "Re: logging"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|