Lines Matching refs:ent_pw
79 struct passwd *ent_pw = NULL; in main() local
218 if ((ent_pw = getpwnam(daemon->scriptuser))) in main()
220 script_uid = ent_pw->pw_uid; in main()
221 script_gid = ent_pw->pw_gid; in main()
228 if (daemon->username && !(ent_pw = getpwnam(daemon->username))) in main()
239 if (!(gp = getgrnam(CHGRP)) && ent_pw) in main()
240 gp = getgrgid(ent_pw->pw_gid); in main()
250 if (ent_pw && ent_pw->pw_uid != 0) in main()
364 log_err = log_start(ent_pw, err_pipe[1]); in main()
387 if (ent_pw && ent_pw->pw_uid != 0) in main()
431 if (setuid(ent_pw->pw_uid) == -1) in main()