Re: /dev/pts/
On Fri, Jun 29, 2007 at 10:02:29 +0200, Pol Hallen wrote:
> Hi folks,
>
> I'd like use write and talk(d) in jail env.
> When an user is logged, his don't have any tty (tty: not a tty).
>
> I assume it's a /proc/ problem.
>
> In /proc/self/fd/ every users had a symblic links to own pts
>
> How can I create this in jail env?
>
> I did many and many attempt..
Did you bind-mount /proc to make it available inside the chroot jail?
I use this in my /etc/fstab:
/tmp /var/chroot/sid-ia32/tmp none bind 0 0
/dev /var/chroot/sid-ia32/dev none bind 0 0
/proc /var/chroot/sid-ia32/proc none bind 0 0
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to:
- References:
- /dev/pts/
- From: Pol Hallen <debianen@fuckaround.org>