Subject: Re: Newbie: please help (Out of ptys in i386 system)
To: None <rbhasin@hss.hns.com>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 04/23/2003 14:54:19
> Hi,
>
> I have recently installed Netbsd Release 1.6 on one of the Intel system,
> can you please let me know how can we increase the number of ptys so that
> users can log in remotely. The default number of ptys that the system is
> supporting in 64, whats the way out to increase this number. Any help to
> sort out this problem would be appreciated.
i may be bad, but i think you'll have to recompile kernel with higher
number of users allowed. you can get syssrc.tgz on one of the netbsd ftp
sites, move it to /, then uncompress it.
then go to /usr/src/sys/arch/conf and create your own configuration file
(you can also use adjustkernel program from pkgsrc, or copy the GENERIC
config file, for example). then change the value of "maxusers" in the
configuration file to the desired number, do config NAME where NAME is
the name of your kernel config, then
cd ../compile/NAME
make depend
make
and you'll get new kernel to replace the old one...
hope i didn't forget anything important...
regards,
lubos
--
-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic
shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################