Firewall Wizards mailing list archives

Re: More Syslog Questions


From: Henning Brauer <hb () bsws de>
Date: Tue, 20 Jul 2004 11:52:27 +0200

* Marcus J. Ranum <mjr () ranum com> [2004-07-20 10:15]:
Devdas Bhagat wrote:
On Linux, the chattr command on ext2/3 filesystems is useful. From man
chattr
      A file with the `a' attribute set  can  only  be  open  in
      append  mode for writing.  Only the superuser or a process
      pessessing the CAP_LINUX_IMMUTABLE capability can  set  or
      clear this attribute.

Is this Linux specific, or did the BSD guys change this, too?

it is 'chflags sappnd [file]' on OpenBSD, and that flag can only be 
unset again when running with securelevel < 1, i. e. single user mode.

The original
idea of immutable files was that they were, uh, um, immutable.

chflags schg [file] ;)

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb () bsws de - henning () openbsd org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
_______________________________________________
firewall-wizards mailing list
firewall-wizards () honor icsalabs com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards


Current thread: