pwentry 79 daemons/based/pacemaker-based.c struct passwd *pwentry = NULL; pwentry 85 daemons/based/pacemaker-based.c pwentry = getpwnam(CRM_DAEMON_USER); pwentry 86 daemons/based/pacemaker-based.c if (pwentry == NULL) { pwentry 99 daemons/based/pacemaker-based.c rc = setgid(pwentry->pw_gid); pwentry 104 daemons/based/pacemaker-based.c pwentry->pw_gid, strerror(errno)); pwentry 108 daemons/based/pacemaker-based.c rc = initgroups(CRM_DAEMON_USER, pwentry->pw_gid); pwentry 113 daemons/based/pacemaker-based.c pwentry->pw_uid, strerror(errno)); pwentry 117 daemons/based/pacemaker-based.c rc = setuid(pwentry->pw_uid); pwentry 122 daemons/based/pacemaker-based.c pwentry->pw_uid, strerror(errno)); pwentry 90 lib/common/utils.c struct passwd *pwentry = NULL; pwentry 97 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); pwentry 98 lib/common/utils.c if (pwentry) { pwentry 100 lib/common/utils.c *uid = pwentry->pw_uid; pwentry 103 lib/common/utils.c *gid = pwentry->pw_gid; pwentry 105 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid);