List all users in the system (fixes #373)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2025-07-10 10:06:19 +02:00
parent 97efac0cd1
commit 1d4e32ba82
24 changed files with 176 additions and 22 deletions

6
src/UidRange.zig Normal file
View File

@@ -0,0 +1,6 @@
const std = @import("std");
// We set both values to 0 by default so that, in case they aren't present in
// the login.defs for some reason, then only the root username will be shown
uid_min: std.c.uid_t = 0,
uid_max: std.c.uid_t = 0,