Adding support for more users
On Wed, 18 Nov 1998, Keyser Soze wrote:
> in general, what are the steps for increasing the number of available
> multiple logins?
up maxusers in your kernel config. up your pty pseudo-device count
there as well. rebuild and install your kernel.
run MAKEDEV to make more ptys. apply this patch if you need a lot
more, like we do on monkey.org (where everyone and their brother runs
screen - which you should also rebuild for expanded pty support):
*** MAKEDEV Sun Nov 2 03:30:39 1997
--- MAKEDEV.dugsong Wed Nov 11 13:37:48 1998
***************
*** 372,381 ****
3) offset=48 name=s;;
# Note that telnetd, rlogind, and xterm (at least) only look at p-s.
4) offset=64 name=t;;
*) echo bad unit for pty in: $i;;
esac
case $class in
! 0|1|2|3|4)
umask 0
n=0
while [ $n -lt 16 ]
--- 372,392 ----
3) offset=48 name=s;;
# Note that telnetd, rlogind, and xterm (at least) only look at p-s.
4) offset=64 name=t;;
+ 5) offset=80 name=u;;
+ 6) offset=96 name=v;;
+ 7) offset=112 name=w;;
+ 8) offset=128 name=x;;
+ 9) offset=144 name=y;;
+ 10) offset=160 name=z;;
+ 11) offset=176 name=P;;
+ 12) offset=192 name=Q;;
+ 13) offset=208 name=R;;
+ 14) offset=224 name=S;;
+ 15) offset=240 name=T;;
*) echo bad unit for pty in: $i;;
esac
case $class in
! 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
umask 0
n=0
while [ $n -lt 16 ]
-d.
We lame like no other primates.
<fuq@monkey.org>