|
Re: lug-bg: Bash history files and auditing
- Subject: Re: lug-bg: Bash history files and auditing
- From: sn@xxxxxxxxx (Svetoslav Nikolov)
- Date: Thu, 01 Jun 2000 09:13:33 +0200
Ne sam mnogo naiasno s tozi problem, no az kato "luzer", ako si pusna
tcsh (toi si mi e liubim), kakvo se otraziava v bash_history ?
gf@xxxxxxxxxx wrote:
> Kato root napravi
>
> chattr +a .bash_history
>
> po tozi nachin dori i root-a nemozhe da se iztrie .bash_history-to
> estestveno ako predi tova ne napravi chattr -a .bash_history
> kato wdignesh tozi atribut luzera shte mozhe samo da dobavia waw file-to
> no ne i da go redaktira po drug nachin
>
> p.s. tova ne te spasiava ako luzer iska da ti napravi nomer :-)
> oshte pri logvane mozhe da napravi export HISTFILE=/dev/null
> i togava bash-a pri logout shte zapishe wsichko waw /dev/null
>
> Georgi Chorbadzhiyski
> System Administrator
> Cybercom Ltd.
> http://www.cybcom.net/
>
> On Wed, May 31, 2000 at 07:17:06PM +0300, Nikolay Kabaivanov wrote:
> > Zdrawejte
> > Iskam da popitam zasto wseki user moze da si iztrie fajla .bash_histoiry
> > ?
> > Ima li niakakuw nachin da ne moze da si go trie i kakwa e bila ideiata
> > da se naprawi taka che da se trie ? Pri men na niaklko mashini prawata
> > na .bash_history sa takiwa -rw-r--r--
> > Ima li niakakuw nachin da se widi kakwo tocno e prawil user-a (kakwi
> > komandi e pisal) oswen chrez bash history ?
> > Struwa mi se che biah gledal niakude komanda ot wida "lastcom" ili nesto
> > takowa ?
> > Kak moze da se pusne po detailen loging na towa kakwo prawiat userite ?
> > Kakwo e zalozeno standartno w linux distribuciite i kakwo ste mi
> > preporuchate kato dopulnitelen paket za auditing ?
> > Stawa duma za Linux RedHat 6.x
> ==================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|