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 1389735 - [RFE] Provide a config option for sudo-io logfiles ownership and permissions
Summary: [RFE] Provide a config option for sudo-io logfiles ownership and permissions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sudo
Version: 7.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On: sudo-rhel7.4-rebase
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-28 11:25 UTC by Thorsten Scherf
Modified: 2020-12-14 07:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 17:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2017 0 normal SHIPPED_LIVE sudo bug fix and enhancement update 2017-08-01 18:02:36 UTC

Comment 1 Thorsten Scherf 2016-10-30 12:12:55 UTC
A patch for sudo-1.8.19 has already been posted:

https://www.sudo.ws/repos/sudo/rev/e7a74f3dfa56

Comment 2 Andrea Perotti 2016-11-02 14:44:11 UTC
Description of problem:
1. Proposed title of this feature request:

Provide a config option for sudo-io logfiles ownership and permissions
      
3. What is the nature and description of the request?  

Customer needs to have the sudo-io logging that:
* belong to one specific group 
* have specific permission (readable by group)
      
4. Why does the customer need this? (List the business requirements here)  

They have Splunk SIEM and they are using the agent from non-root account (splunk). This agent needs to collect log files.
      
5. How would the customer like to achieve this? (List the functional requirements here)  
    
Settings to be add in the sudoers (param name = default value):

iolog_umask=0700
iolog_user=root
iolog_group=root
  
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.  
    
- enable setting/change default setting
- use sudo with 2 users 2 times each
- check permissions on sudo-io log files (i.e. /var/log/sudo-io/ and subdirs)
 
7. Is there already an existing RFE upstream or in Red Hat Bugzilla?  

Topic has been raised already upstream 
https://www.sudo.ws/pipermail/sudo-users/2016-October/005846.html 
      
8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?  

RHEL7
      
9. Is the sales team involved in this request and do they have any additional input?  
    
No
  
10. List any affected packages or components.  
      
sudo

11. Would the customer be able to assist in testing this functionality if implemented?

Yes


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 Tomas Sykora 2017-02-17 11:41:38 UTC
This feature will be delivered in rhel 7.4 by rebase. It is now available in testing copr build sudo-1.8.19p2-1.el7.

Comment 13 errata-xmlrpc 2017-08-01 17:03:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2017

Comment 14 errata-xmlrpc 2017-08-01 17:27:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2017


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