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*

3
  • 1
    I tested the reuse of UIDs. The UID of the new user is apparently always 1 higher than the current highest UID, even if there are "holes" due to deleted users. So the problem I mentioned in my original post above applies only to the deletion of the user with the current highest UID. (tested on Linux Mint 17) Commented Sep 3, 2014 at 6:44
  • 1
    @twan163 Indeed, this is documented behavior for useradd in the Linux shadow suite. Anyway, the point remains that if you stop marking a user ID as being in use, it can be reused. If you want to prevent reuse, the way to do that is to leave the entry in the database. Commented Sep 3, 2014 at 6:50
  • Of course, I failed to see that one coming! :) Commented Sep 3, 2014 at 6:52