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

R: .bash_history



e se utilizzassi un pacchetto tipo acct ??
http://packages.debian.org/stable/admin/acct

grazie

-->
--> -----BEGIN PGP SIGNED MESSAGE-----
--> Hash: SHA1
-->
-->
--> On Sep 28, 2005, at 10:07 PM, Cristian Versari wrote:
-->
--> > Riccardo Tortorici wrote:
--> >
--> >> chattr +a .bash_history
--> >> gli metti l'attributo "append", l'utente può aggiungere ma non
--> >> togliere.. :-)
--> >>
--> >
--> > Se l'utente ha i permessi totali sulla propria home (come in genere
--> > accade) tutto cio' e' inutile...
-->
--> Non con chattr.
-->
--> Cerberus:/home/ricky# lsattr .bash_history
--> - ----------------- .bash_history
--> Cerberus:/home/ricky# chattr +a .bash_history
--> Cerberus:/home/ricky# lsattr .bash_history
--> - -----a----------- .bash_history
--> Cerberus:/home/ricky# su - ricky
--> ricky@Cerberus:~$ chattr -a .bash_history
--> chattr: Operation not permitted while setting flags on .bash_history
-->
--> 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)
-->
--> iD8DBQFDOyKrSiJn2/P84wYRAj81AJ9MMDslQlf8ZGWkao/tuK0XHuvvDgCdGjN3
--> dDywlCAUtGBkoVjWc+JSzyk=
--> =cOhw
--> -----END PGP SIGNATURE-----
-->
-->
--> __________ NOD32 1.1236 (20050928) Information __________
-->
--> This message was checked by NOD32 antivirus system.
--> http://www.eset.com
-->
-->



Reply to: