home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!olivea!sgigate!odin!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: /usr/include/pwd.h problem
- Message-ID: <peebajk@zuni.esd.sgi.com>
- Date: 4 Sep 92 18:35:01 GMT
- References: <Bu25qE.78v@math.uwaterloo.ca>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 18
-
- In <Bu25qE.78v@math.uwaterloo.ca> mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
-
- | Under IRIX 4.0.4, the pwent structure defined in /usr/include/pwd.h
- | has a field for the user id declared as an unsigned short. That's fine,
- | except the stock IRIX password file contains a uid of -2, which converts
- | to 65534 in the structure because of that declaration.
-
- Yes, but that isn't really a problem, since it should never match
- anything useful anyway. It isn't an error in the structure. Most
- people who care have simply changed nobody to have an invalid
- uid like 60001 (MAXUID is 60000).
-
- SVR4 goes to 32 bit uid's, as far as the structs are concerned, from
- what I remember, although I think MAXUID still fits in a 16 bit number.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-