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

/bind-9.6-ESV-R11/bin/named/unix/
H A Dos.c111 static struct passwd *runas_pw = NULL; variable in typeref:struct:passwd
539 runas_pw = getpwuid((uid_t)atoi(username));
541 runas_pw = getpwnam(username);
544 if (runas_pw == NULL)
548 if (initgroups(runas_pw->pw_name, runas_pw->pw_gid) < 0) {
559 if (runas_pw == NULL || done_setuid)
577 if (setgid(runas_pw->pw_gid) < 0) {
582 if (setuid(runas_pw->pw_uid) < 0) {

Completed in 10 milliseconds