Re: lug-bg: Bash history files and auditing
- Subject: Re: lug-bg: Bash history files and auditing
- From: pope@xxxxxxxxxx (Alex Pope)
- Date: Thu, 1 Jun 2000 01:25:54 +0300 (EEST)
On Wed, 31 May 2000, 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--
Ideiata na command history ne e da se izpolzva za security celi, a za
ulesnenie na usera. Predstavi si che vchera si vyvel niakakva mnogo
dylga i slojna komanda i sega ti triabva pak. Vmesto da si blyskash
glavata kak beshe, prosto natiskash ctrl-r i pishesh pyrvite niakolko
simvola. Syotvetno usera moje da reshi che ne mu triabva takyv help i da
go zabrani.
chattr +a .bash_history ne pomaga sreshtu unset HISTFILE (koeto pyk ot
svoia strana se izbiagva chres readonly HISTFILE). Syshto taka ne e hubavo
.bash_history da e 644, po-dobre 600, niama nujda vsichki da razbirat
kakvo e pisal konkretnia user na prompta.
Drugite veche ti kazaha za acct, lastcomm i prochie.
==================================================================
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
|