Red Hat Bugzilla – Bug 1001316
Location of yum is incorrect in /etc/sudoers
Last modified: 2013-08-26 17:16:58 EDT
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):
Steps to Reproduce:
1. Add a line in sudoers to allow a user to run commands in the
2. Log in as that user and try to run "sudo yum install ..."
Sorry, user <user> is not allowed to execute '/bin/yum -y install ...'
as root on computer.example.com
The unprivileged user should be allowed to run yum as root using
It looks like yum is now located in /bin/yum.
Never mind. I thought that was causing my inability to run yum, but it was something else.