Exercise 8.1 from the Linux Programming Interface by Michael Kerrisk. This Exercise is to implement the getpwnam() UNIX library function.