Open tty limit of 32?
Kris Kennaway
kris at obsecurity.org
Wed Apr 27 14:18:52 PDT 2005
On Wed, Apr 27, 2005 at 11:16:05PM +0200, nocturnal wrote:
> Hi
>
> Recently, helping a friend setup a shellserver, i noticed some kind of
> limit on the number of open ttys. I count 32 open ttys by remote users
> before users start getting locked out. Any user trying to login after
> "ls -la /dev/tty* | grep -v wheel | wc -l" starts returning 32 get the
> following message along with a distorted terminal that is completly locked.
> "Warning: no access to tty (Bad file descriptor)."
>
> There are random users using ttys, some two ttys and others maybe more
> but it's always 32 open. I almost wanted to post this on hackers because
> i've searched the net like a maniac without answers and no one on irc
> could answer me. I've also tried searching through the src/sys for
> anything defined to 32.
You forgot to mention your FreeBSD version and details of your kernel
configuration (ISTR in older versions there was a user-defined maximum
number of ptys specified in the kernel config)
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050427/42fe0da9/attachment.bin
More information about the freebsd-questions
mailing list