Screen inside Jails + su

Wael Nasreddine mla at nasreddine.com
Wed Apr 9 01:05:24 UTC 2008


This One Time, at Band Camp, Erik Osterholm <freebsd-lists-erik at erikosterholm.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-services.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


-- 
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080409/377b99cf/attachment.pgp


More information about the freebsd-questions mailing list