What | Removed | Added |
---|---|---|
Assignee | werner@suse.com | kstreitova@suse.com |
Flags | needinfo?(kstreitova@suse.com) |
(In reply to Josef M�llers from comment #26) > Hm ... when collecting this stuff, it occurred to me that pam_xauth could > retrieve the old user name prior to calling pam_get_user() ... stay tuned ... No show: pam_syslog(pamh, LOG_NOTICE, "Getting old user name"); -> Getting old user name if (pam_get_item(pamh, PAM_USER, &old_username) != PAM_SUCCESS) { : } pam_syslog(pamh, LOG_NOTICE, "old user name=%s", old_username); -> old user name=root There is next to nothing preceding this (just some options parsing), so PAM_USER is already set to root and pam_xauth will have a hard time finding the invoking user. So best discuss this with sudo's bugwoner: Krist�na Streitov� <kstreitova@suse.com>