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

/bind-9.11.3/bin/named/unix/
H A Dos.c106 static struct passwd *runas_pw = NULL; variable in typeref:struct:passwd
540 runas_pw = getpwuid((uid_t)atoi(username));
542 runas_pw = getpwnam(username);
545 if (runas_pw == NULL)
549 if (initgroups(runas_pw->pw_name, runas_pw->pw_gid) < 0) {
560 if (runas_pw == NULL || done_setuid)
578 if (setgid(runas_pw->pw_gid) < 0) {
583 if (setuid(runas_pw->pw_uid) < 0) {
606 if (runas_pw
[all...]

Completed in 12 milliseconds