Subject: Re: ridiculous uid
To: dieter Roelants <dieter.NetBSD@pandora.be>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: port-cobalt
Date: 11/30/2005 11:31:11
In message <1133367909l.194l.0l@origin.amelgem.be>, dieter Roelants writes:
>
>Hello
>
>I currently have 3.0_RC3 running netbooted on a cobalt RaQ2. I noticed
>that something isn't quiet right with user id's:
>
>$ grep dieter /etc/passwd
>dieter:*:1980:1980:Dieter Roelants:/home/dieter:/bin/ksh
>$ id
>uid=3154575360(dieter) gid=3154575360
>groups=3154575360,0(wheel),5(operator)
>$ id daemon
>uid=16777216(daemon) gid=16777216 groups=16777216,1(daemon)
>
Looks like an endian problem. 3154575360 is 0xBC070000; 0x07BC is
1980. Similarly, 16777216 is 0x1000000, while daemon should be uid 1.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb