Hi Dean :)
* dean gaudet <[email protected]> dixit:
> > Why not simply unset the write bit for all three groups of users?
> > That seems to be enough to prevent file modification.
> another usage: if you "chattr +i /var" while /var is unmounted, then root
> is unlikely to accidentally create files/dirs in /var -- and when you
> mount the real /var on top it works fine. i tend to protect all my mount
> points this way (especially those in /mnt) to avoid my own dumb mistakes.
Hey, man, that's GREAT :)) I'm going to do the same on my system,
thanks for the suggestion.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]