Prevent delete of ~/.bash_history
Posted: Mon Nov 25, 2002 9:38 am
Hey,
First i would like to thank your for your hard work and efforts in getting a Global security system like this working.. You have done a great job!
Now, ive noticed in some freebsd servers and some other linux distros that when u try delete your .bash_history file it spits out
rm: .bash_history: Operation not permitted
The file permissons are
-rw------- 1 steve steve 2894 Nov 25 01:27 .bash_history
As u can see its owned by me and my group... Even if i try and chmod it or anything else it just says Operation not permitted..
I would like add the same feature to my Linux Server(s), would also want to protect a few other files like .bash_history
Is this possible using Acl's? Since we cant use wildcards in Acl's i dont really think this would be possible?
Also would u happen to have an ETA on the new grsecurity with support for uid/gid permissions in ACL's?
Thanks
/Steve
First i would like to thank your for your hard work and efforts in getting a Global security system like this working.. You have done a great job!
Now, ive noticed in some freebsd servers and some other linux distros that when u try delete your .bash_history file it spits out
rm: .bash_history: Operation not permitted
The file permissons are
-rw------- 1 steve steve 2894 Nov 25 01:27 .bash_history
As u can see its owned by me and my group... Even if i try and chmod it or anything else it just says Operation not permitted..
I would like add the same feature to my Linux Server(s), would also want to protect a few other files like .bash_history
Is this possible using Acl's? Since we cant use wildcards in Acl's i dont really think this would be possible?
Also would u happen to have an ETA on the new grsecurity with support for uid/gid permissions in ACL's?
Thanks
/Steve