Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 23:19:26 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        faSty <fasty@i-sphere.com>
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>
In-Reply-To: <20010115103442.A10446@i-sphere.com>; from fasty@i-sphere.com on Mon, Jan 15, 2001 at 10:34:42AM -0800
References:  <20010115103442.A10446@i-sphere.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010115231926.H97980>