[opensuse-factory] sudo first attempt fails
Hi, After some recent releases I started to have problem with sudo. First attempt which ask for user password command fails e.g.: hlavki@hlknb:~> sudo zypper ref [sudo] password for hlavki: sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted sudo: unable to send audit message: Operation not permitted sudo: setuid(0): Operation not permitted sudo: unable to set supplementary group IDs: Operation not permitted sudo: unable to change to runas uid (0, 0): Operation not permitted sudo: unable to execute /usr/bin/zypper: Operation not permitted on next attempts (when password is not asked) it works. I didn't find any bugzilla issue so I don't know if it's by wrong configuration or something else. thanks, m. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Do you have pam_kwallet installed? There is a bug breaking sudo when pam_kwallet is installed currently affecting Tumbleweed (and Leap 15.1 still?) See here: https://bugzilla.opensuse.org/show_bug.cgi?id=1137716 and here for Leap 15.1: https://bugzilla.opensuse.org/show_bug.cgi?id=1133808 Cheers, Pierre Le Tuesday, 25 June 2019, 16:54:13 CEST Michal Hlavac a écrit :
Hi,
After some recent releases I started to have problem with sudo. First attempt which ask for user password command fails e.g.:
hlavki@hlknb:~> sudo zypper ref [sudo] password for hlavki: sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted sudo: unable to send audit message: Operation not permitted sudo: setuid(0): Operation not permitted sudo: unable to set supplementary group IDs: Operation not permitted sudo: unable to change to runas uid (0, 0): Operation not permitted sudo: unable to execute /usr/bin/zypper: Operation not permitted
on next attempts (when password is not asked) it works. I didn't find any bugzilla issue so I don't know if it's by wrong configuration or something else.
thanks, m.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
hi, yes, I have pam_kwallet. Thanks for info. m. On utorok 25. júna 2019 17:17:27 CEST Pierre de Villemereuil wrote:
Do you have pam_kwallet installed? There is a bug breaking sudo when pam_kwallet is installed currently affecting Tumbleweed (and Leap 15.1 still?)
See here: https://bugzilla.opensuse.org/show_bug.cgi?id=1137716 and here for Leap 15.1: https://bugzilla.opensuse.org/show_bug.cgi?id=1133808
Cheers, Pierre
Le Tuesday, 25 June 2019, 16:54:13 CEST Michal Hlavac a écrit :
Hi,
After some recent releases I started to have problem with sudo. First attempt which ask for user password command fails e.g.:
hlavki@hlknb:~> sudo zypper ref [sudo] password for hlavki: sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted sudo: unable to send audit message: Operation not permitted sudo: setuid(0): Operation not permitted sudo: unable to set supplementary group IDs: Operation not permitted sudo: unable to change to runas uid (0, 0): Operation not permitted sudo: unable to execute /usr/bin/zypper: Operation not permitted
on next attempts (when password is not asked) it works. I didn't find any bugzilla issue so I don't know if it's by wrong configuration or something else.
thanks, m.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Michal Hlavac
-
Pierre de Villemereuil