OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Elite Bizkit (elite_bizkit_at_hotmail.com)
Date: Thu Jan 02 2003 - 06:32:40 CST

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

    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

    _________________________________________________________________
    MSN 8 with e-mail virus protection service: 2 months FREE*
    http://join.msn.com/?page=features/virus

    To Unsubscribe: send mail to majordomoFreeBSD.org
    with "unsubscribe freebsd-security" in the body of the message