Note that according to base-passwd package

You *may not* use any uids or gids in the 60000-64999 range without *first*
requesting an allocation from [email protected] and waiting

so perhaps libraries that tell if an user account is system or not, need
to check if UID is in range from FIRST_SYSTEM_UID to LAST_SYSTEM_UID
*or* if it's in range 60000-64999.

In case the UID is in range 60000-64999, a custom lookup should be made
to decide if any given UID in this range is a system account or user
account. I'm not familiar with the way all those reserved UIDs are used
but I'd assume that any UID in that range is special and may require UID
specific knowledge about being normal vs system account.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903509

Title:
  libvirt-daemon-system creates system user without marking it as system
  user for login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1903509/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to