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

Re: adding all users to group



also sprach dman <dsh8290@rit.edu> [2002.01.22.1646 +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 :-).

pfffffff.

cat << EOF > short_test.c
#include <stdio.h>

int main(void)
{
  unsigned short s = -2;
  printf("%d\n", s);
  return 0;
}
EOF
gcc -o short_test short_test.c
./short_test
65534

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
it's as bad as you think, and they are out to get you.

Attachment: pgp4NLU0GGLbF.pgp
Description: PGP signature


Reply to: