Various functions to extract information from the /etc/passwd file. This will not work on DOS machines.
getpwuid Get a record by keying on the UID (numeric).
getpwnam Get a record by keying on the user name.
fgetpwent
getpwent
setpwent
endpwent
getpw
putpwent