Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 20:41:57 -0600
From:      "Scot Hetzel" <hetzels@westbend.net>
To:        "Julian Elischer" <julian@elischer.org>, "FreeBSD current users" <current@FreeBSD.ORG>
Subject:   Re: Jail detection
Message-ID:  <017701c2b39a$da0e4920$11fd2fd8@ADMIN00>
References:  <Pine.BSF.4.21.0301031332060.77781-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Julian Elischer" <julian@elischer.org>
> We have some software we'd like to behave slightly differently if it is
> in a jail.
>
> What methods do people use to detect they are in a jail?

There's a program called in.jail (/usr/ports/sysutils/jailer) that is
capable of detecting if it is running in a jail.

Scot



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017701c2b39a$da0e4920$11fd2fd8>