Lines Matching defs:root
113 * NSS lookups for root we hardcode its data. */
115 if (streq(*username, "root") || streq(*username, "0")) {
116 *username = "root";
125 *home = "/root";
182 * NSS lookups for root we hardcode its data. */
184 if (streq(*groupname, "root") || streq(*groupname, "0")) {
185 *groupname = "root";
223 return strdup("root");
261 return strdup("root");
353 /* Hardcode home directory for root to avoid NSS */
356 h = strdup("/root");
400 /* Hardcode home directory for root to avoid NSS */
442 int take_etc_passwd_lock(const char *root) {
464 if (root)
465 path = prefix_roota(root, "/etc/.pwd.lock");