Hello, 30.05.08, 13:28, "Nicolas François" <[EMAIL PROTECTED]>: > On Fri, May 30, 2008 at 09:10:29AM +0200, [EMAIL PROTECTED] wrote: > > Creating an user-account and changing the UID via vipw to "4294967296" > > (Which is 2^32) results in an overflow and the user gets the UID=0, > > an UID of "4294967297" leads to an UID=1 and so on.
Maybe this is a platform limit (passwd.pw_uid is of uid_t type). For example, on 64-bit HP Tru64 I see the next: HP Tru64 UNIX V5.1B (Rev. 2650); Fri Jul 27 14:32:42 EEST 2007 [EMAIL PROTECTED]:~$ grep uid_t /usr/include/sys/types.h typedef int uid_t; /* user ID */ typedef uint_t uid_t; /* user ID */ typedef unsigned int cpuid_t; [EMAIL PROTECTED]:~$ uname -a OSF1 xxx.yyy V5.1 2650 alpha [EMAIL PROTECTED]:~$ -- WBR, xrgtn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]