PTY's in a FreeBSD Jail
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PTY's in a FreeBSD Jail
On Tue, Jun 06, 2006 at 12:31:19PM -0400, Kevin Wortman wrote: 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. See the jail manpage for how to set up devfs. Kris pgpIFotbZwwNJ.pgp Description: PGP signature