OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Talon (talon_at_datastorm.kicks-ass.org)
Date: Thu Jan 02 2003 - 08:07:26 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    -----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 <hauptoutof.ch>
    |> To: "Elite Bizkit" <elite_bizkithotmail.com>
    |> CC: freebsd-securityFreeBSD.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_bizkithotmail.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 majordomoFreeBSD.org
    with "unsubscribe freebsd-security" in the body of the message