Bug 545684
Summary: | sudoers: add user not validate input values for 'host', 'commnads' and 'user' | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Rajan Timaniya <rtimaniy> |
Component: | Configuration | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 1.4 | CC: | jshaughn |
Target Milestone: | --- | Keywords: | SubBug |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-16 20:12:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 565628 |
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug making sure we're not missing any bugs in rhq_triage Lowering severity/priority - not an enterprise plugin |
Description of problem: sudoers: add user not validate input values for 'host', 'commnads' and 'user' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Log into iManage platform with appropriate credential 2. Select appropriate agent and its sudoers service 3. Click on 'CONFIGURE' tab 4. Click on 'EDIT' and then 'Add New' 5. Input following details: User/Group: testboy Hosts Alias: all Command: all Run as User: all Tag Specification: No (select 'No') 6. Click on 'OK' button 7. Click on 'SAVE' button Actual results: The given below line append to /etc/sudoers testboy all = (all) NOPASSWD : all Log in as 'testboy' and try to access some command using sudo su – testboy sudo ls /lost+found It give the the sudoers file: syntax error >>> sudoers file: syntax error, line 99 <<< sudo: parse error in /etc/sudoers near line 99 Expected results: Verify that iManage sudoers plugin should validate input values before write to configuration file and give user error/alert message if require Additional info: