From owner-freebsd-questions Wed Aug 14 3:41:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7027A37B400 for ; Wed, 14 Aug 2002 03:41:07 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D6A43E42 for ; Wed, 14 Aug 2002 03:41:06 -0700 (PDT) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.5/8.12.5) with ESMTP id g7EAftIK003989; Wed, 14 Aug 2002 12:41:55 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.5/8.12.5/Submit) id g7EAftdJ003958; Wed, 14 Aug 2002 12:41:55 +0200 (CEST) Date: Wed, 14 Aug 2002 12:41:54 +0200 From: Ruben de Groot To: BSD Freak Cc: FreeBSD Questions Subject: Re: Access to serial ports from a jail Message-ID: <20020814104154.GA30675@ei.bzerk.org> References: <11c91dc11cba54.11cba5411c91dc@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11c91dc11cba54.11cba5411c91dc@mbox.com.au> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 14, 2002 at 09:14:54AM +1000, BSD Freak typed: > Hi all, > > Does anyome know if it is possible to access serial ports from a FreeBSD > jail. Specifically I want to run a server HylaFax inside a jail. Is > possible, has anybody done it? Hi, From the jail(2) manpage: Inside the prison, the concept of "superuser" is very diluted. In gen- eral, it can be assumed that nothing can be mangled from inside a prison which does not exist entirely inside that prison. For instance the directory tree below ``path'' can be manipulated all the ways a root can normally do it, including ``rm -rf /*'' but new device special nodes can- not be created because they reference shared resources (the device drivers in the kernel). Since the serial ports are shared resources, I'm afraid you're out of luck. Though you might try copying the needed devices from outside the jail, I never tried this. > > > Thanks...... > > --------------------------------------------------------------------- > Never lose a fax again, receive faxes to your personal email account! > Visit http://www.mbox.com.au/fax > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message