Mailinglist Archive: opensuse-bugs (4790 mails)

< Previous Next >
[Bug 1046959] pam_xauth.so is not found for sudo
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 04 Jul 2017 06:14:51 +0000
  • Message-id: <bug-1046959-21960-0HiveJ63Y2@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1046959
http://bugzilla.opensuse.org/show_bug.cgi?id=1046959#c3

Josef Möllers <josef.moellers@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(reply@xxxxxxxxxxx |
|g) |

--- Comment #3 from Josef Möllers <josef.moellers@xxxxxxxx> ---
(In reply to Gordon Ashley from comment #2)
cat /etc/pam.d/sudo

#%PAM-1.0
auth include common-auth
account include common-account
password include common-password
session include common-session
session include pam_xauth.so
^^^^^^^
There's the culprit! Change this to "optional".

this file is default after new install. I did not change it.

I'll check where this comes from. It's definitely wrong.

I've created a dummy file:

cat /usr/lib/pam.d/pam_xauth.so

When you change the "include" to "optional", this will be fixed as well:

(location taken from strace log). Now I can sudo -u user and get no error,
however X credentials are not forwarded.

I'll need to install 42.3 to see what happened. For the time being the solution
is stated above.

Josef

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References