UIDs and GIDs
Sean Fagan
seanf at sco.COM
Sat Jun 30 04:15:05 AEST 1990
From: seanf at sco.COM (Sean Fagan)
In article <743 at longway.TIC.COM> mbrown at osf.org (Mark Brown) writes:
>In 1003.1, "User ID" is defined as a positive integer (so is GID)...
>Also, uid_t is defined as an arithmetic type (same for gid_t).
>How does one handle (or can one handle) certain networking conventions that
>use a "dummy" user ("nobody") and require a user id of -2 ?
>Do these conflict as they seem, or am I missing something (always possible..)
Certain networking conventions are broken.
uid_t and gid_t have usually (always?) been considered unsigned shorts.
Most architectures let them get away with it, barely. It is not a good
idea, though.
---
-----------------+
Sean Eric Fagan | "Just think, IBM and DEC in the same room,
seanf at sco.COM | and we did it."
uunet!sco!seanf | -- Ken Thompson, quoted by Dennis Ritchie
(408) 458-1422 | Any opinions expressed are my own, not my employers'.
Volume-Number: Volume 20, Number 64
More information about the Comp.std.unix
mailing list