Bug 2229284
| Summary: | visudo does not checks configuration for case sensitivity | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | jcastran |
| Component: | sudo | Assignee: | Radovan Sroka <rsroka> |
| Status: | NEW --- | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.8 | CC: | dapospis |
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
This bug is going to be migrated. Contact point for migration questions or issues: rsroka Guidance for Bugzilla users to test their Jira account or create one if needed: https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016394 https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016694 https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016774 |
Description of problem: When you use a valid configuration option, but use lower case. visudo accepts this but sudo does not work. Version-Release number of selected component (if applicable): sudo-1.8.29-10.el8.x86_64 Steps to Reproduce: 1. visudo 2. user All=(ALL) ALL 3. visudo saves but this is incorrect syntax. Actual results: [user@r8 ~]$ sudo echo hi user is not allowed to run sudo on r8. This incident will be reported. Expected results: This should prevent invalid lower case characters. # visudo >>> /etc/sudoers: syntax error near line 101 <<< What now? Additional info: