2026-10-04 22:39 UTC
Advanced Programming in the #UNIX Environment
Week 4: /etc/passwd
In this short video, we try to answer the awkward question "Mommy, where do UIDs come from?". We look at the /etc/passwd user database and identify the various fields before we look at how things can get weird.
https://youtu.be/fv16TWDnLYM
Replies (2)
-
@jschauma@mstdn.social 2026-10-05 13:06
Advanced Programming in the #UNIX Environment Week 4: getpwuid(2) and /etc/groups After having discussed all the account fields in /etc/passwd, we now look at the library functions used to look up that information. We learn about how primary and supplementary groups are handled as well as how the hashed passwords are stored outside of the world readable /etc/passwd file. https://youtu.be/aomkx6_aWpc
-
@paul_ipv6@infosec.exchange 2026-10-04 22:40
@jschauma@mstdn.social i've always enjoyed how durable the GECOS field is/was. ;)