home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!murphy!jpradley!magpie!manes
- From: manes@magpie.nycenet.edu (Steve Manes)
- Subject: Re: 386 Unix - is 5,000 logins realistic?
- Organization: Manes and Associates, NYC
- Distribution: na
- Date: Sun, 22 Nov 1992 20:32:04 GMT
- Message-ID: <By4x1H.3H2@magpie.nycenet.edu>
- X-Newsreader: TIN [version 1.1 PL7]
- References: <1992Nov18.174008.23663@cbnews.cb.att.com>
- Lines: 24
-
- andrew.d.hay (adh@cbnews.cb.att.com) wrote:
- : In article <1992Nov18.031323.8045@toolz.uucp> todd@toolz.uucp (Todd Merriman) writes:
- : "Is it realistic to support about 5,000 logins with a 386 Unix?
- : "There will be no more than 32 logins active at any time, but what
- : "about the time it takes to look up the password during login?
- :
- : dunno just how bad it would be, but you could also:
- : a) sort your passwd file
- : b) get a pd getty-replacement, and hack it to do a binary search.
- :
- : this ought to whiz, even on a 5k-line passwd!
-
- Getty isn't responsible for searching /etc/passwd. That's the job of
- /bin/login, which is invoked by getty with the user's input as an
- argument.
-
- Is it realistic to support 5,000 logins with a 386 Unix? Sure, providing
- you've got a lot of memory. Login will be a little slow but if you keep
- frequent users near the top of the file you can minimize delays.
-
- --
- Stephen Manes manes@magpie.nycenet.edu
- Manes and Associates/Commontech-NoHo New York, NY, USA =o&>o
-
-