getting UID higher that 99999

Dick Davies rasputnik at
Tue Jun 20 22:10:16 UTC 2006

On 20/06/06, Alan McKinnon <alan at> wrote:

> Bad luck I'm afraid. AFAIK the UIDs on Linux are 16 bit, so they go up
> to 65535.
> Somewhere in the back of my mind I remember reading something about 32
> bit uids but don't recall where. Google for "32 bit uid linux" and
> see what turns up

There's an OS called 'Linucks' or something that has them (and has for years):

 rasputnik at hypnotoad:~$ cat uid.c
#include <stdio.h>
#include <sys/types.h>

int main() { printf("uid is %i bytes\n", sizeof(uid_t)); }
rasputnik at hypnotoad:~$ make uid
cc     uid.c   -o uid
rasputnik at hypnotoad:~$ ./uid
uid is 4 bytes

Though some crappy utils are still hardcoded to 16 bit uids.

Rasputin :: Jack of All Trades - Master of Nuns

More information about the ubuntu-users mailing list