From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 01:05:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3C461065671 for ; Wed, 9 Apr 2008 01:05:23 +0000 (UTC) (envelope-from mla@nasreddine.com) Received: from server1.nasreddine.com (server1.nasreddine.com [82.225.70.234]) by mx1.freebsd.org (Postfix) with ESMTP id 8ABDD8FC23 for ; Wed, 9 Apr 2008 01:05:23 +0000 (UTC) (envelope-from mla@nasreddine.com) Received: from localhost (unknown [192.168.2.5]) by server1.nasreddine.com (Postfix) with ESMTP id E616B12318B5; Wed, 9 Apr 2008 03:05:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at nasreddine.info Received: from server1.nasreddine.com ([192.168.2.5]) by localhost (cadmus-mail.nasreddine.info [192.168.2.5]) (amavisd-new, port 10024) with LMTP id GgbgvavM88sA; Wed, 9 Apr 2008 03:05:15 +0200 (CEST) Received: from phoenix.nasreddine.info (phoenix.nasreddine.info [192.168.1.3]) by server1.nasreddine.com (Postfix) with ESMTPA id 1EA7812318A3; Wed, 9 Apr 2008 03:05:14 +0200 (CEST) Date: Wed, 9 Apr 2008 03:05:03 +0200 From: Wael Nasreddine To: FreeBSD Mailing Lists Message-ID: <20080409010503.GB15556@phoenix.nasreddine.info> Mail-Followup-To: FreeBSD Mailing Lists , Erik Osterholm References: <20080408220005.GA23508@phoenix.nasreddine.info> <20080409005217.GA97058@aleph.cepheid.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <20080409005217.GA97058@aleph.cepheid.org> X-Operating-System: Linux 2.6.24-ARCH i686 X-Uptime: 00:15:04 up 52 min, 8 users, load average: 1.35, 0.74, 0.54 X-Editor: VIM - Vi IMproved 7.1 (2007 May 12, compiled Mar 7 2008 02:52:44) X-PGP-Key: http://wael.nasreddine.com/files/Wael_Nasreddine.asc X-Info: http://wael.nasreddine.com User-Agent: Mutt/1.5.17-muttng (2007-11-01) Cc: Erik Osterholm Subject: Re: Screen inside Jails + su X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2008 01:05:24 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This One Time, at Band Camp, Erik Osterholm said, On Tue, Apr 08, 2008 at 07:52:17PM -0500: > On Wed, Apr 09, 2008 at 12:00:05AM +0200, Wael Nasreddine wrote: > The common way for a user to run a program at startup is to use cron > with the special @reboot directive instead of giving it a time to run > a job. > http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-servic= es.html Thank you for pointing that out, could you please give me an example I haven't found on that page... > If you have used jexec to get into the jail, then you won't have a pty > within the jail, and anything which relies on one will fail to > execute. Start up sshd in the jail, then ssh to it and see if you can > attach the screen. Thanks that worked fine... > Erik --=20 Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /\ Man has never reconciled himself to the ten commandments. --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkf8Fj8ACgkQVWU5RcjdGKIS4gCfYPhZv9RQmdM29UO0fGdH5H6n EPMAnjFjJwtLeaWMrW5YwPn55EP/JdEo =I9j3 -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--