[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bash_history



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 28, 2005, at 4:53 PM, Alberto Spelta wrote:


come posso mantenere la .bash_history di tutti gli utenti impedendogli di
cancellarla ?

chattr +a .bash_history
gli metti l'attributo "append", l'utente può aggiungere ma non togliere.. :-)
puoi rimuovere l'attributo con l'opzione "-a"
Per ulteriori info "man chattr"
Ric

- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
no1984.org member - Stop TCG!
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!

http://www.georgedillon.com/web/netiquette.shtml





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDOrmKSiJn2/P84wYRAp7SAJkBQPD3GTNMBhKTVzDqvxE8eq6UwQCffU3C
BnOy+5F8Bd923QUlB5yIzt4=
=DG4i
-----END PGP SIGNATURE-----



Reply to: