Home | History | Annotate | Download | only in hlfsd

Lines Matching defs:home

68 static char *root_home;		/* root's home directory */
78 * Return the home directory pathname for the user with uid "userid".
93 homename = found->home;
97 return alt_spooldir; /* use alt spool for / or rel. home */
99 if ((int) userid == 0) /* force all uid 0 to use root's home */
154 dlog("cache spill uid = %ld, pid = %ld, home = %s",
156 lastchild->home);
194 } else { /* the home dir itself must not exist then */
203 * If gets here, then either the spool dir in the home dir exists,
383 return untab[idx].home;
390 char *home;
395 if ((home = homeof(username)) == (char *) NULL)
397 if (STREQ(home, "/"))
402 "%s/%s/%s", home, home_subdir, username);
525 /* read home dir */
528 plog(XLOG_ERROR, "no home dir on line %d of %s", passwd_line, passwdfile);
565 /* remove any trailing '/' chars from root's home (even if just one) */
606 if (pwtab[i].home) {
607 XFREE(pwtab[i].home);
608 pwtab[i].home = (char *) NULL;
618 untab[i].home = (char *) NULL; /* only a ptr to pwtab[i].home */
631 * h: home directory
669 dlog("ignoring duplicate home %s for uid %d (already %s)",
670 h, u, pwtab[i].home);
675 pwtab[cur_pwtab_num].home = xstrdup(h);
687 untab[cur_pwtab_num].home = pwtab[cur_pwtab_num].home; /* a ptr */
766 pwtab[i].home,
771 untab[i].username, (long) untab[i].uid, untab[i].home);
792 pwtab[i].home, pwtab[i].uname);
796 untab[i].username, (long) untab[i].uid, untab[i].home);
797 fprintf(dumpfile, "ezk: ent=%d, uid=%lu, home=\"%s\"\n",
800 pwtab[untab[untab_index("ezk")].uid].home);
801 fprintf(dumpfile, "rezk: ent=%d, uid=%lu, home=\"%s\"\n",
804 pwtab[untab[untab_index("rezk")].uid].home);