Bug 1001316

Summary: Location of yum is incorrect in /etc/sudoers
Product: [Fedora] Fedora Reporter: Bryan Mason <bmason>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 19CC: dkopecek, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-26 21:16:58 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:

Description Bryan Mason 2013-08-26 21:13:20 UTC
Description of problem:

    /etc/sudoers contains the line:

    # Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum

    However, in Fedora 19, yum is located in /bin

Version-Release number of selected component (if applicable):

    sudo-1.8.6p7-1.fc19.x86_64
 
How reproducible:

    100%

Steps to Reproduce:

    1.  Add a line in sudoers to allow a user to run commands in the
        SOFTWARE alias.
    2. Log in as that user and try to run "sudo yum install ..."

Actual results:

    Sorry, user <user> is not allowed to execute '/bin/yum -y install ...'
    as root on computer.example.com

Expected results:

    The unprivileged user should be allowed to run yum as root using
    sudo.

Additional info:

    It looks like yum is now located in /bin/yum.

Comment 1 Bryan Mason 2013-08-26 21:16:58 UTC
Never mind.  I thought that was causing my inability to run yum, but it was something else.