Tech Support > Operating Systems > Linux / Variants > Linux useradd id sequence skip
Linux useradd id sequence skip
Posted by sPiDEr on December 4th, 2003


Hi,

Having difficulty understand this problem. I created a user and change his
uid and gid by hand to 123456. How can I start the uid and gid from 500+
onwards when using useradd command?

It always start from uid 123456 now.

Thanks,

Andy


Posted by sPiDEr on December 4th, 2003


Hi,

ok managed to get the answer from "man useradd", the uid and gid selection
is from the file /etc/login.defs. By default the next uid and gid is chosend
from the maxumum uid/gid from the range of 500-60000. That explain why my
next uid/gid is 123456.

Andy


"sPiDEr" <spder@work.news> wrote in message
news:bqm62j$eod$1@nobel2.pacific.net.sg...