Searched refs:runas_pw (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/contrib/bind9/bin/named/unix/
H A Dos.c111 static struct passwd *runas_pw = NULL; variable in typeref:struct:passwd
545 runas_pw = getpwuid((uid_t)atoi(username));
547 runas_pw = getpwnam(username);
550 if (runas_pw == NULL)
554 if (initgroups(runas_pw->pw_name, runas_pw->pw_gid) < 0) {
565 if (runas_pw == NULL || done_setuid)
583 if (setgid(runas_pw->pw_gid) < 0) {
588 if (setuid(runas_pw->pw_uid) < 0) {
714 if (runas_pw !
[all...]

Completed in 43 milliseconds