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

Re: in.telnetd and virtual hosting

On Mon, Oct 04, 1999 at 10:40:26PM +0200, Marek Habersack wrote:

> > > presented with a login of the normal, non-virtual, server instead of the
> > > new, chrooted, one. Does anyone know what might be the cause of such
> > > behavior and perhaps knows a way to virtualize telnetd?
> > 
> >   I don't know a whole lot about telnetd and the intricacies of setting up
> > chrooted environments -- but that said, what's in /dev in the chroot jail?  I
> > suspect you need to mount a devpts filesystem on <chroot path>/dev/pts for this
> > to work, although I have no idea how Linux would react to having to having
> > multiple devpts filesystems mounted at once.  Probably best to try and see :)
> Both proc and devpts are mounted. Doesn't matter whether I mount them

Have you tried actually mounting them in the chroot jail and then having
symbolic links to them from the real root?  That way there is only one
proc,pts directory ever mounted...

Ryan Murray (rmurray@cyberhqz.com, rmurray@glenayre.com)
Software Designer, Glenayre Technologies Inc.
The opinions expressed here are my own.

Reply to: