Bug 537772

Summary: Sudoers: User cannot add multiple users/groups.
Product: [Other] RHQ Project Reporter: Sunil Kondkar <skondkar>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.4CC: jshaughn, spandey
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-16 13:57:05 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    

Description Sunil Kondkar 2009-11-16 10:23:27 UTC
Description of problem:
If user tries to add multiple users/groups in one go, only one user/group gets added.

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

version: 1.4.0-SNAPSHOT

How reproducible:


Steps to Reproduce:

1.Login to managed platform .
2.Select the 'Sudoers' resource.
3.Select the 'Configure' tab.
4. Click on 'Edit' button.
5. Click on 'Add New' button.
6. Add an entry and click OK button..
7.Again click on 'Add New' button to add a second entry.
8. Add an entry and click OK button.
9. Click on 'Save' button.
10 Check the entries added in 'Configure' tab. Only one entry gets added.
11. Login to platform as root and check the file 'etc/sudoers'. The file has only one entry.
  
Actual results:
If user tries to add multiple users/groups in one go, only one user/group gets added.

Expected results:

System should add multiple entries.

Additional info:

Comment 1 spandey 2009-12-23 10:30:58 UTC
observed following issue while add multiple entry  :

Description : Previous Entry has been deleted while adding multiple entry in one attempt .

Prerequisite :

1)Properly configured Imanage  host.

Steps to verify :

1.Login to imanage host with valid root credentials .
2. Execute the following command on host console to edit /etc/sudoers. 
“visudo”
3.At bottom of /etc/sudoers file add following line .
redhat  ALL = (ALL) PASSWD : ALL
4.Verify in the imanaged platform's sudoers resource that user 'redhat' is discovered.
5.Add sudouser testboy,testgirl using Imanage > sudoers services .
6.Press save button to save these entry in /etc/sudoers.


Expected Result : All entry should present in sudo users list .

Actual Result : After add multiple entry in one attempt not able to find entry of previous added user “redhat” in sudo users list or in /etc/sudoers file .

Comment 2 wes hayutin 2010-02-16 16:57:10 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 17:02:14 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-10-05 13:08:24 UTC
Lowering severity/priority - not an enterprise plugin