1️⃣6️⃣ Here's the 16th post highlighting key new features of the upcoming v258 release of systemd. #systemd258
Since a while systemd has included the "userdb" subsystem, that extends the classic ~1983 "struct passwd" (as returned by getpwnam()) in a powerful, modernized way. While userdb's user records are a true superset of POSIX'/Linux' struct passwd, the retain the basic concepts: one can query a record by its UID or by its username, and gets a record back.