[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/pts/



Am 2007-06-29 10:02:29, schrieb Pol Hallen:
> 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.. 

...net enough!

mount -t none /dev  ${PATH_TO_/dev_IN_JAIL}  -o bind
mount -t none /proc ${PATH_TO_/proc_IN_JAIL} -o bind
mount -t none /sys  ${PATH_TO_/sys_IN_JAIL}  -o bind

and then "jail" again.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: