pwentry 137 cib/main.c struct passwd *pwentry = NULL; pwentry 164 cib/main.c pwentry = getpwnam(CRM_DAEMON_USER); pwentry 165 cib/main.c CRM_CHECK(pwentry != NULL, pwentry 169 cib/main.c rc = setgid(pwentry->pw_gid); pwentry 171 cib/main.c crm_perror(LOG_ERR, "Could not set group to %d", pwentry->pw_gid); pwentry 175 cib/main.c rc = initgroups(CRM_DAEMON_GROUP, pwentry->pw_gid); pwentry 177 cib/main.c crm_perror(LOG_ERR, "Could not setup groups for user %d", pwentry->pw_uid); pwentry 181 cib/main.c rc = setuid(pwentry->pw_uid); pwentry 183 cib/main.c crm_perror(LOG_ERR, "Could not set user to %d", pwentry->pw_uid); pwentry 760 lib/ais/utils.c struct passwd *pwentry = NULL; pwentry 763 lib/ais/utils.c getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); pwentry 764 lib/ais/utils.c if (pwentry) { pwentry 767 lib/ais/utils.c *uid = pwentry->pw_uid; pwentry 770 lib/ais/utils.c *gid = pwentry->pw_gid; pwentry 772 lib/ais/utils.c ais_debug("Cluster user %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); pwentry 438 lib/common/utils.c struct passwd *pwentry = NULL; pwentry 441 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); pwentry 442 lib/common/utils.c if (pwentry) { pwentry 444 lib/common/utils.c *uid = pwentry->pw_uid; pwentry 447 lib/common/utils.c *gid = pwentry->pw_gid; pwentry 449 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid);