From owner-freebsd-questions Thu Apr 12 0:28:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id 94AE637B443 for ; Thu, 12 Apr 2001 00:28:44 -0700 (PDT) (envelope-from tmchow@sfu.ca) Received: from fraser.sfu.ca (tmchow@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id f3C7Shq18927; Thu, 12 Apr 2001 00:28:43 -0700 (PDT) Received: from localhost (tmchow@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) with ESMTP id AAA15558; Thu, 12 Apr 2001 00:28:43 -0700 (PDT) X-Authentication-Warning: fraser.sfu.ca: tmchow owned process doing -bs Date: Thu, 12 Apr 2001 00:28:43 -0700 (PDT) From: Trevin Chow To: Bill Schoolcraft Cc: Leonard Zettel , Subject: Re: resolv.conf overwrite In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 11 Apr 2001, Bill Schoolcraft wrote: > ..... there is a command in Linux called "chattr" and if you do > "chattr +i" it makes a file "immutable" meaning root cannot even > edit it without reversing those attributes, hence the origin of the > word. I keep some system security files set to that so some > scritpts won't overwrite them. > > Does anyone know the FreeBSD version of that command ? > It would in fact keep the file intact through a reboot. man chflags To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message