Bug 1034533

Summary: inclusion of system-auth for session hooks missing in sudo PAM snippets
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dkopecek, kzak, lnie
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sudo-1.8.12-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1502630 (view as bug list) Environment:
Last Closed: 2015-02-23 23:24:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1502630    

Description Lennart Poettering 2013-11-26 04:08:48 UTC
Much like /etc/pam.d/su and /etc/pam.d/su-l the PAM files for sudo (/etc/pam.d/sudo and /etc/pam.d/sudo-i) should include system-auth for the session hooks. i.e. a line like

session		include		system-auth

is missing from /etc/pam.d/sudo, and a line like

session         include         su

is missing from /etc/pam.d/sudo-i.

$ rpm -qf /etc/pam.d/sudo
sudo-1.8.8-1.fc20.x86_64

Comment 1 Fedora Update System 2014-09-30 15:21:00 UTC
sudo-1.8.11-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.11-1.fc20

Comment 2 Fedora Update System 2014-10-01 04:22:28 UTC
Package sudo-1.8.11-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sudo-1.8.11-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11928/sudo-1.8.11-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-11-03 14:27:21 UTC
sudo-1.8.11p2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.11p2-1.fc20

Comment 4 lnie 2014-11-04 08:03:02 UTC
sudo-1.8.11p2-1.fc20 works

Comment 5 Fedora Update System 2015-02-18 10:20:25 UTC
sudo-1.8.12-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sudo-1.8.12-1.fc20

Comment 6 Fedora Update System 2015-02-23 23:24:53 UTC
sudo-1.8.12-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.