home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13309 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.3 KB

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