[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adding all users to group



On Tue, Jan 22, 2002 at 11:29:36AM +0100, martin f krafft wrote:
| also sprach Cameron Kerr <cameron@glissarok.localdomain> [2002.01.22.0848 +0100]:
| > All of the users on a Debian system have UID >= 1000. For some unknown
| > (to me) reason, the user `nobody' has a UID of 65534 (or -1)
| 
| that's -2 btw ;)

Not if you use unsigned integers :-).


2**16 == 65536

so 65535 is the biggest number that a "guint16" (in glib terms) can
represent (0...65535 is 65536 unique numbers).

'nobody' is one less than the highest 16bit unsigned integer.

-D

-- 

The Lord detests all the proud of heart.
Be sure of this: They will not go unpunished.
        Proverbs 16:7



Reply to: