Date: Wed, 9 Apr 2008 03:05:03 +0200 From: Wael Nasreddine <mla@nasreddine.com> To: FreeBSD Mailing Lists <freebsd-questions@freebsd.org> Cc: Erik Osterholm <freebsd-lists-erik@erikosterholm.org> Subject: Re: Screen inside Jails + su Message-ID: <20080409010503.GB15556@phoenix.nasreddine.info> In-Reply-To: <20080409005217.GA97058@aleph.cepheid.org> References: <20080408220005.GA23508@phoenix.nasreddine.info> <20080409005217.GA97058@aleph.cepheid.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This One Time, at Band Camp, Erik Osterholm <freebsd-lists-erik@erikosterho= lm.org> 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 /<o>\ 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080409010503.GB15556>