After a discussion on IRC we decided that it might be a good idea to have a build option to control whether we want to have the complicated checks for human vs. system user or the straight-up one based solely on uid and login.defs.
Created attachment 81486 [details] [review] Clean up user classification logic
pushed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.