Date: Wed, 6 Nov 2002 06:20:45 +1100 (EST) From: Peter Hoskin <peterh@ripewithdecay.com> To: stable@freebsd.org Subject: Re: User login limit Message-ID: <20021106061915.Q301-100000@extortion.peterh.dropbear.id.au> In-Reply-To: <20021105190055.GQ15618@techometer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Nov 2002, Erick Mechler wrote: > :: > I've noticed FreeBSD doesn't like accepting more than 24 > :: > logins, no matter > :: > if they're local, ssh, etc. > :: > :: in your /boot/loader.conf file, put a line like: > :: kern.maxusers=0 > :: > :: Or set it to an actual value. > :: 0 will cause it to auto-size > > I'm pretty sure that what you're seeing isn't tuning related, but rather > it's that you're running out of ptys. To fix this, you need to edit a line > in your kernel config from > > pseudo-device pty # Pseudo-ttys (telnet etc) > > to read > > pseudo-device pty 256 # Pseudo-ttys (telnet etc) > > Rebuild your kernel (see Chapter 9 of the handbook for info on rebuilding > your kernels), and then when you have it installed, do the following as > root > > cd /dev/ > /bin/sh > for i in 0 1 2 3 4 5 6 7; do sh ./MAKEDEV pty$i; done I actually have 32 pty's in /dev currently. Not sure if this has anything to do with it, perhaps my limit is because of the kernel. > Cheers - Erick > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106061915.Q301-100000>