*BSD News Article 5967


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!network.ucsd.edu!pacbell.com!charon.amdahl.com!amdahl!JUTS!phoenix!gpw10
From: gpw10@phoenixcd.amdahl.com (Gary Ward)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD] Only root can login & MAXUSERS > 4?
Keywords: Permission denied  MAXUSERS  386BSD
Message-ID: <5cjK023U24VX01@JUTS.ccc.amdahl.com>
Date: 1 Oct 92 16:00:06 GMT
References: <2AC8B07A.17659@ics.uci.edu> <1992Sep30.071252.4571@autelca.ascom.ch>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 48

In article <1992Sep30.071252.4571@autelca.ascom.ch>,
nbladt@autelca.ascom.ch (Norbert Bladt) writes:
> bvickers@valentine.ics.uci.edu (Brett J. Vickers) writes:
> 
> >2. I recompiled the kernel, setting MAXUSERS to 16, so that I could
> >   at least open a few windows under X386, but it still limits me
> >   to 4 pty's.  What have I done wrong?
> The number of MAXUSERS is not related to the number of pty's you can
> access.
> In the config file for your system there is a line containing
> something
> like
> 	pty	4
> You should change this 4 to, say, 16 and voila, you will have 16
> pty's
> devices for X (after creating a new kernel with this config file, of
> course).

Better yet, change it to
	pty

If you don't specify a number, no arbitrary limit is assigned and you
can have more at any time just by making the nodes in /dev (i.e. no
additional kernel rebuilds)

> I am not sure whether you have to create the devices in /dev or whether
> they do exist already. To be sure, look in /dev for *pty* files.
> If the don't exist, you can create the device entries by calling
> 	MAKEDEV pty
> (or something similar). You should look into the MAKEDEV file to find
> out what the exact syntax is. I am sorry to be not very specific, but I
> have my 386BSD system at home and I am at work, now.
> 
> Hope this helps, anyway,
> 
> Norbert.
> -- 
> Norbert Bladt, Ascom Autelca AG, Worbstr. 201, CH-3073 Guemligen, Switzerland
> Phone: +41 31 999 65 52			FAX: +41 31 999 65 44
> Mail: nbladt@autelca.ascom.ch   UUCP: ..!uunet!mcsun!chsun!hslrswi!aut!nbladt

-- 
+------------------------+---------------------------+
| Gary Ward              |  Amdahl Corporation       |
| gpw10@cd.amdahl.com    |  1250 East Arques Avenue  |
| Phone : (408)746-8865  |  P.O. Box 3470 M/S 142    |
|                        |  Sunnyvale, CA 94088-3470 | 
+------------------------+---------------------------+