| Summary: | [RFE] Provide a config option for sudo-io logfiles ownership and permissions | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Thorsten Scherf <tscherf> |
| Component: | sudo | Assignee: | Daniel Kopeček <dkopecek> |
| Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | abondare, aperotti, daniele, dapospis, dkopecek, lmiksik, mgrepl, pkis, tosykora |
| Target Milestone: | rc | Keywords: | FutureFeature, Patch |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 17:03:40 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: | |
| Bug Depends On: | 1360687 | ||
| Bug Blocks: | |||
|
Comment 1
Thorsten Scherf
2016-10-30 12:12:55 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:
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. 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 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 |