From owner-freebsd-questions Mon Jan 15 23:19:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 1571C37B400 for ; Mon, 15 Jan 2001 23:19:28 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 15 Jan 2001 23:17:42 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.1/8.11.0) id f0G7JQq51513; Mon, 15 Jan 2001 23:19:26 -0800 (PST) (envelope-from cjc) Date: Mon, 15 Jan 2001 23:19:26 -0800 From: "Crist J. Clark" To: faSty Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chflags and rm -rf inside jailed failed. help! Message-ID: <20010115231926.H97980@rfx-64-6-211-149.users.reflexco> Reply-To: cjclark@alum.mit.edu References: <20010115103442.A10446@i-sphere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010115103442.A10446@i-sphere.com>; from fasty@i-sphere.com on Mon, Jan 15, 2001 at 10:34:42AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 15, 2001 at 10:34:42AM -0800, faSty wrote: > Hi there, > > I need help, I tried rid the jailed using rm -rf command but got errors > then I tried use chflags command to attempt neutral for rm -rf to remove it. > > here the errors. > > [root@/virtual/jail/shell.i-sphere.com/bin]# chflags -R noschg * > chflags: rcp: Operation not permitted > > > What is your suggest how rid the jail? lemme know thanks You wouldn't happen to be running with securelevel > 0? You need to get to a lower securelevel to remove the schg flag, # shutdown -r now And go into single-user mode. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message