Searched refs:ent_pw (Results 1 – 3 of 3) sorted by relevance
129 struct passwd* ent_pw = NULL; in main() local216 if ((ent_pw = getpwnam(daemon->scriptuser))) { in main()217 script_uid = ent_pw->pw_uid; in main()218 script_gid = ent_pw->pw_gid; in main()224 if (daemon->username && !(ent_pw = getpwnam(daemon->username))) in main()233 if (!(gp = getgrnam(CHGRP)) && ent_pw) gp = getgrgid(ent_pw->pw_gid); in main()242 if (ent_pw && ent_pw->pw_uid != 0) { in main()342 log_err = log_start(ent_pw, err_pipe[1]); in main()361 if (ent_pw && ent_pw->pw_uid != 0) { in main()383 if (setuid(ent_pw->pw_uid) == -1) { in main()
56 int log_start(struct passwd* ent_pw, int errfd) { in log_start() argument91 if (log_to_file && ent_pw && ent_pw->pw_uid != 0 && fchown(log_fd, ent_pw->pw_uid, -1) != 0) in log_start()
709 int log_start(struct passwd* ent_pw, int errfd);