RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 603823 - sudo - fix printing of entries with multiple host entries on a single line.
Summary: sudo - fix printing of entries with multiple host entries on a single line.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sudo
Version: 6.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-14 16:16 UTC by ritz
Modified: 2011-05-19 11:46 UTC (History)
4 users (show)

Fixed In Version: sudo-1.7.4p5-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 603819
Environment:
Last Closed: 2011-05-19 11:46:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0599 0 normal SHIPPED_LIVE Low: sudo security and bug fix update 2011-05-19 11:46:21 UTC

Description ritz 2010-06-14 16:16:56 UTC
+++ This bug was initially created as a clone of Bug #603819 +++

Created an attachment (id=423888)
sudoers file

Description of problem:
sudo -l ignores configured commands an mixes up configurations for other hosts.

Version-Release number of selected component (if applicable):
- sudo-1.7.2p1-5.el5.x86_64

How reproducible:
always

Steps to Reproduce:
1. place the attached file in "/etc/sudoers"
2. Update "myhostname" in attached file to reflect your system's hostname
3. login as oracle
4. sudo -l
  
Actual results:
$ sudo -l
Sorry, user oracle may not run sudo on localhost.


Expected results:
$ sudo -l
User oracle may run the following commands on this host:
    (ALL) NOPASSWD: /net/nimserv/appldata/oracle/920_64/Disk1/rootpre.sh,
    /net/nimserv/appldata/oracle/10/dvd1/database/rootpre/rootpre.sh,
    /net/nimserv/appldata/oracle/10/oem/cd1/rootpre/rootpre.sh,
    /net/nimserv/appldata/oracle/10/dvd1/database/rootpre/rootpre.sh.aix61,
    /net/nimserv/appldata/oracle/10/Client/Disk/rootpre/rootpre.sh,
    /net/nimserv/appldata/oracle/10/oem/gc/rootpre/rootpre.sh,
    /db/main/oraInventory/orainstRoot.sh, /db/main/ora920/root.sh,
    /db/main/ora102/root.sh, /db/main/ora10204/root.sh,
    /db/main/admin/oms10g/root.sh, /db/main/ora10204/orainstRoot.sh,
    /db/main/agent10g/root.sh, /db/main/agent/root.sh,
    /db/main/oms10g/oms10g/allroot.sh, /db/main/oms10g/allroot.sh,
    /db/main/agent10gR5/agent10g/root.sh, /usr/sbin/slibclean,
    /oracle/*/920_64/root.sh, /tmp/orainstRoot.sh, /sbin/vgdisplay,
    /sbin/lvdisplay, /sbin/lslv, /sbin/lsvg, /tmp/rootpre/rootpre.sh



Additional info:
http://sudo.ws/repos/sudo/rev/226ceaf91d8d

--- Additional comment from rkhadgar on 2010-06-14 12:13:22 EDT ---

Created an attachment (id=423889)
patch based on upstream

Comment 4 errata-xmlrpc 2011-05-19 11:46:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0599.html


Note You need to log in before you can comment on or make changes to this bug.