Re: sharing UIDs between Solaris and Linux

Jakub Jelinek (
Mon, 2 Mar 1998 20:22:49 +0100 (MET)

> Linux's uid appears to be 16bit, while Solaris' uid is 32bit? This makes
> it problematic to share uid entries (/etc/passwd) in our heterogenous
> networking environment. UIDs in our university are assigned beyond our
> control, and since Solaris is the primary OS on campus, new accounts are
> being assigned UIDs around 80000 and higher simply due to the lack of
> space under 65534.
> Is there any way I can work around this? Am I correct that to convert
> linux's uid to long I'd have to recompile the kernel and all the user
> programs as well? And I don't know if this would work at the end, either.

Not only that, ext2fs has 16bits for UID in inodes as well...

Jakub Jelinek | |
Administrator of SunSITE Czech Republic, MFF, Charles University
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.88 on a sparc64 machine (498.80 BogoMips).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to