[relug] Re: Log Accessi SSH

  • From: Luca Bigliardi - shammash <shammash@xxxxxxxxxx>
  • To: relug@xxxxxxxxxxxxx
  • Date: Sun, 9 May 2004 13:49:42 +0200

On Sat, May 08, 2004 at 02:37 PM, Cristofori Francesco wrote:

> 1) Registrare i comandi
> Devi abilitare nel kernel l'opzione "BSD process accounting" e
> installare il tool "acct". In questo modo _tutti_ i comandi invocati
> sono registrati nella directory /var/account/ in file di nome pacct* .
> Per consultare il file (aka vedere cosa è stato fatto) puoi usare il
> comando "lastcomm". Ti rimando al man per le opzioni relative.

Date le utenze probabilmente gli basta un HISTSIZE moolto grosso
e forse magari un HISTFILE write-only da qualche parte che viene
periodicamente ruotato.

ciao
        Luca

-- 
BOFH excuse #372:
Forced to support NT servers; sysadmins quit.

Linux Registered User # 286841

Other related posts: