Commit Graph

2 Commits

Author SHA1 Message Date
702cc0442c endpwent: Close all opened instances of /etc/passwd, including those used by getpwuid() and getpwnam() 2022-10-28 21:02:55 +02:00
7d0e442cde libc: Add /etc/passwd and the pwd.h API
getpwent, getpwnam, getpwuid... they may have been a pain to implement but once they work they're awesome :)

Right now passwords are stored in plaintext in the world-readable passwd file, which is not good.
But I don't have any sort of hashing implemented so it'll stay that way for now.
2022-10-28 20:55:00 +02:00