Date: Fri, 03 Jan 2003 01:07:26 +1100 From: Talon <talon@datastorm.kicks-ass.org> To: Elite Bizkit <elite_bizkit@hotmail.com> Cc: haupt@outof.ch, freebsd-security@FreeBSD.org Subject: Re: Removing a Jail Message-ID: <3E14479E.5080700@datastorm.kicks-ass.org> References: <F252CkWkKEsEXlwM9Ut0001760b@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Elite Bizkit wrote: | I logged into single user mode (pressing space at prompt then useing | boot -s), ran "chflags -R noschg /usr/jail" and got the following | message "chflags: not found". I tried "man chflags" but that also | returned "man: not found". Are these not available in single user mode? | or have I done something wrong? | | - BiZKiT | | | | |> From: Emanuel Haupt <haupt@outof.ch> |> To: "Elite Bizkit" <elite_bizkit@hotmail.com> |> CC: freebsd-security@FreeBSD.org |> Subject: Re: Removing a Jail |> Date: Thu, 2 Jan 2003 13:17:44 +0100 |> |> On Thu, 02 Jan 2003 09:56:02 +0000 |> "Elite Bizkit" <elite_bizkit@hotmail.com> wrote: |> |> > Ah I see, "sh MAKEDEV jail" creates a device inside the jail, so if |> I run |> > "rm -fr /usr/jail" the device will be removed aswell? |> |> usually you can't delete jails just by rm due to there are several |> files with 'schg' flags. depending on your security level you have to |> boot to single user mode and chflags (man 1 chflags) them in order to |> be able to remove it: |> |> $ chflags -R noschg /your/jaildir |> $ rm -rf /your/jaildir |> |> > |> > - BiZKiT |> |> |> emanuel BiZKiT you may need to mount some devices if you are in single user mode Are these questions even relavant to this mailing list. Regards Jason - -- ~ |===================================| ~ | Data-Storm Computers | Powered By | ~ | FreeBSD Rock Stable Performance | ~ |===================================| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Signed With GnuPG iD8DBQE+FEedyoJQBYFw6XARAiV4AKCg9eBxl8gr2M1ez+sKQE//5fLIVQCeIQti k/7PusEaLjtBh0HY4IWXdys= =trsw -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E14479E.5080700>