summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorandre4ik3 <andre4ik3@fastmail.com>2025-08-11 04:44:22 +0000
committerandre4ik3 <andre4ik3@fastmail.com>2025-08-15 16:17:58 +0000
commit8fdcd28f9d7d361c8b0798540fb7627773c2b2b5 (patch)
tree267d3e930b881dd94b13d442a1e454d0f4d0f4a1 /pkgs/development/python-modules/httpserver
parent21a816c3ce8e1cba69d436b392e0067faf7c2ceb (diff)
nixos/systemd/userdbd: add warning for system users >= UID 1000
When a disposition is not set in a user record, systemd determines user disposition depending on the range the user's UID falls in. For system users with UIDs above 1000, this will cause them to be incorrectly identified as "regular" users. This will cause `userctl` to report the user as a regular user, and more importantly, `systemd-homed` will not run the first boot user creation flow, as regular users are already present on the machine (when they are really system users). The most common source of high UID system users will undoubtedly be Nix build users, so the warning provides additional guidance on how to remove them or adjust their IDs to be within the system range. The warning is shown only when userdbd/homed is enabled, and the option to hide the warning is deliberately hidden, to ensure users will have to read and acknowledge the warning before proceeding, as otherwise users could end up deploying an OS with no users and no way of creating one due to the first boot flow being skipped.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions