Hacker News new | ask | show | jobs
by damian2000 5048 days ago
Gotta love this password handling bit ...

pw = getpwuid(getuid());

if (!pw) usage("You don't exist. Go away!");