Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I haven't tried this, but if the 60000 is the max value of automatic uid/gid selection, wouldn't manually assign 60001 and above be a better choice than 59001..59999? Commented Aug 23, 2019 at 9:26
  • 1
    @zypA13510 IDs above 60000 may be allocated by system programs, too, despite the implication in login.def's comments. Systemd uses the range 61184…65519. (I ought to edit the answer to note this.) If you interoperate with Solaris, it uses 60001 and 60002 for some system users. Above 70000 is probably OK, but I think it's safer to just lower UID_MAX in login.defs and then manually allocate IDs in the range [UID_MAX+1..59999]. Commented Aug 23, 2019 at 15:16