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

Re: passwd file



JOO>> That should not be a problem.  Your only limited by how the user id's
JOO>> are stored internally.   Does anyone know if they are 32-bit integers or
JOO>> 16 bit integers?  If they are 16-bit unsigned then you can go as 
JOO>> high as 65535.  

/usr/src/linux/include/asm/posix_types.h:

typedef unsigned short  __kernel_uid_t;

Also, my vague memory hints me that 65535 isn't a good uid also - some
fucntions return -1 as error value, some bad tools don't check it and do
stupid short-int and signed-unsigned conversions, and you see what it
means. I think there were some problems with nobody being 65535 on some
systems (SunOS?).

-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il