/* we need this for the home * directory. */
pw = getpwuid(getuid());
if (!pw) {
printf("You don't exist, go away!\n");
printf("No user exists for uid %lu\n",
(u_long)original_real_uid);
exit(1);
}
if (gethostname(hostname, sizeof(hostname)) < 0) {
/* Get user data. */
pw = getpwuid(original_real_uid);
logit("You don't exist, go away!");
logit("No user exists for uid %lu", (u_long)original_real_uid);
exit(255);
/* Take a copy of the returned structure. */