67c3b63
- include <string.h> - use thread-safe wrapper for getpwuid_r instead of getpwuid - check for NULL return from getpwuid