Implement /etc/login.defs in interop, TODO for FreeBSD

We should be able to parse the "minuid" and "maxuid"
values in /etc/rc.conf to get the UID range of the
system, with default values of 1000 to 32000 (as
they don't seem to be present by default).

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2025-10-18 00:28:12 +02:00
parent ed88458efd
commit 02f5aa702d
3 changed files with 59 additions and 42 deletions

View File

@@ -211,7 +211,8 @@ lang = en
# You can also set environment variables in there, they'll persist until logout
login_cmd = null
# Path for login.defs file (used for listing all local users on the system)
# Path for login.defs file (used for listing all local users on the system on
# Linux)
login_defs_path = /etc/login.defs
# Command executed when logging out