pwentry 80 daemons/based/pacemaker-based.c struct passwd *pwentry = NULL; pwentry 86 daemons/based/pacemaker-based.c pwentry = getpwnam(CRM_DAEMON_USER); pwentry 87 daemons/based/pacemaker-based.c if (pwentry == NULL) { pwentry 100 daemons/based/pacemaker-based.c rc = setgid(pwentry->pw_gid); pwentry 105 daemons/based/pacemaker-based.c pwentry->pw_gid, strerror(errno)); pwentry 109 daemons/based/pacemaker-based.c rc = initgroups(CRM_DAEMON_USER, pwentry->pw_gid); pwentry 114 daemons/based/pacemaker-based.c pwentry->pw_uid, strerror(errno)); pwentry 118 daemons/based/pacemaker-based.c rc = setuid(pwentry->pw_uid); pwentry 123 daemons/based/pacemaker-based.c pwentry->pw_uid, strerror(errno)); pwentry 91 lib/common/utils.c struct passwd *pwentry = NULL; pwentry 98 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); pwentry 99 lib/common/utils.c if (pwentry) { pwentry 101 lib/common/utils.c *uid = pwentry->pw_uid; pwentry 104 lib/common/utils.c *gid = pwentry->pw_gid; pwentry 106 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid);