Anybody have a patch for pdksh derivatives, for jails?
- From: "cali clarke" <xorquewasp@xxxxxxxxxxxxxx>
- Date: Sun, 24 Feb 2008 19:42:01 +0100
Hi.
pdksh and derivatives (openbsd ksh, mirbsd mksh etc) all have
the same "bug" with regards to jails. On all of my systems, trying
to start *ksh in a jail results in a message that /dev/tty could
not be opened (device busy) and that the shell will not have
job control. For some reason, this makes pretty much any
curses or screen editor fail to run.
Note that also, this problem does NOT occur if you use ssh
to enter the jail as I believe ssh handles tty allocation in
advance.
I wondered if anybody had patched their *ksh to workaround
this problem?
I've had a look at the sources myself and... ugh. The insides
of a unix shell are not something I particularly want to spend
much time examining...
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Anybody have a patch for pdksh derivatives, for jails?
- From: Tom Evans
- Re: Anybody have a patch for pdksh derivatives, for jails?
- From: Alexander Leidinger
- Re: Anybody have a patch for pdksh derivatives, for jails?
- Prev by Date: Re: Security Flaw in Popular Disk Encryption Technologies
- Next by Date: Re: find -lname and -ilname implemented
- Previous by thread: Re: VM design doc?
- Next by thread: Re: Anybody have a patch for pdksh derivatives, for jails?
- Index(es):
Relevant Pages
- Re: Anybody have a patch for pdksh derivatives, for jails?
... system and then doing a "jexec X pdksh" to login into a jail. ...
of any *ksh. ... (freebsd-hackers) - Re: Anybody have a patch for pdksh derivatives, for jails?
... to start *ksh in a jail results in a message that /dev/tty could ...
to enter the jail as I believe ssh handles tty allocation in ... sshd will allocate
you a tty, ... (freebsd-hackers) - Re: Ultimately Safe User Account
... virtual jail. ... really familiar with SSH beyond the command line access...and
they were ... potentially be used to see any other machines within the same subnet as ...
administration and user's minds than dreamt of in any single admin's ... (freebsd-questions) - Re: Requesting advice on Jail technique.
... is that if you want to support any port (and specifically things like ssh) ...
is running under each jail, you need to know my IP address which one to log ... > I
do not have a wealth of real IPs at my disposal but accountability ... I can afford a few
real IPs for the purpose. ... (freebsd-questions) - Question: [SOLVED] X11+ssh+jail
... If I can ssh from the jail into the jail itself using "ssh localhost",
it appears localhost being resolved correctly. ... In my host lo0 is 127.0.0.1, in the
jail lo0 isn't bound to anything. ... (comp.unix.bsd.freebsd.misc)