Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 12:31:19 -0400
From:      "Kevin Wortman" <kevin.wortman@gmail.com>
To:        freebsd-questions@freebsd.org.
Subject:   PTY's in a FreeBSD Jail
Message-ID:  <6bcb65c40606060931s6b35ce3fo238625d6120ecd01@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All,

Sometime ago there was a question posed about the error "Server refused to
allocate pty" when trying to ssh into a freebsd jail.  It seemed to be
answered by someone saying that the command "mount_devfs devfs
/your/jail/dir/dev" needed to enter, which in fact does make the jail start
working.  However, it was stated in the same posting that this was not
considered to be secure.

Hence my question, if this is in fact not secure, how can I get my jail
properly configured in FreeBSD 6.0 without compromising the security of the
box?  I ask because I have several boxes currently running in my environment
with jails (FreeBSD 4.x) and do not see this command anywhere in the startup
scripts yet the jailed environment appears to be working like a champ.

I am fairly new to the FreeBSD world so please pardon my ignorance, if I
have displayed any.

Thanks in advance for any help/advise

V/r

Kevin Wortman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6bcb65c40606060931s6b35ce3fo238625d6120ecd01>