[SunHELP] Maximum users on a Solaris 2.6 server

Nicholas Dronen sunhelp at sunhelp.org
Tue Apr 3 23:15:38 CDT 2001


You're guessing incorrectly.  That value is used by programs
like useradd (not to mention the C library itself).  It's
hard-coded.  

Try:

$ sort -t: +2 -nr /etc/passwd | head -1

to see the highest uid currently in /etc/passwd.

On Tue, Apr 03, 2001 at 11:33:05PM -0400, Steven B. Parsons wrote:
> root at twister[607]> more /usr/include/sys/param.h | grep MAXUID
> #define MAXUID          2147483647      /* max user id */
> 
> Im guessing that if I uncomment that out and do a reconfig reboot
> I should be good . Currently there is nothing set for that variable and
> im not able to find out what the default is.



More information about the SunHELP mailing list