Skip to content

Conversation

@ctr49
Copy link

@ctr49 ctr49 commented Oct 14, 2025

until uid limits have been made configurable (as suggested in #297) 500 should be used as lower boundary (as per LSB saying that user ids 0-499 are for system accounts).

Copy link
Member

@jackpot51 jackpot51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot accept this. On Ubuntu systems, there are accounts in the 500 to 999 range that are not regular users.

@mmstick
Copy link
Member

mmstick commented Oct 14, 2025

You can get UID_{MIN,MAX} from the system: https://github.com/pop-os/upgrade/blob/0feac8d7aa66b9d28df3fb213e897f327d0a9eb9/daemon/src/misc.rs#L72-L86

@jackpot51
Copy link
Member

On Ubuntu:

UID_MIN			 1000
UID_MAX			60000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants