|
Re: lug-bg: Bash history files and auditing
- Subject: Re: lug-bg: Bash history files and auditing
- From: gf@xxxxxxxxxx (gf@xxxxxxxxxx)
- Date: Wed, 31 May 2000 20:40:33 +0300
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
|
|
|