#1325 RunAs group is not displayed in output while removing as sudorule-add-runasuser with --groups swtich.
Closed: Fixed None Opened 11 years ago by rcritten.

https://bugzilla.redhat.com/show_bug.cgi?id=713380

# ipa sudorule-remove-runasuser rule1 --users=sudouser1
  Rule name: rule1
  Enabled: TRUE
  Run As User: sudouser2
---------------------------
Number of members removed 1
---------------------------

# ipa sudorule-add-runasuser rule1 --groups=sudogrp1,sudogrp2
  Rule name: rule1
  Enabled: TRUE
  Run As User: sudouser2
-------------------------
Number of members added 2
-------------------------

# ipa sudorule-remove-runasuser rule1 --groups=sudogrp1

Actual results: Run As group is not displayed.

# ipa sudorule-remove-runasuser rule1 --groups=sudogrp1
  Rule name: rule1
  Enabled: TRUE
  Run As User: sudouser2
---------------------------
Number of members removed 1
---------------------------

Expected results: "Run As Group: group1" should be displayed.
# ipa sudorule-remove-runasuser rule1 --groups=sudogrp1
  Rule name: rule1
  Enabled: TRUE
  Run As Group: sudogrp2
---------------------------
Number of members removed 1

Off hand I would guess that it is not in default_attributes so it only shows when it is modified.


Metadata Update from @rcritten:
- Issue assigned to jraquino
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

5 years ago

Login to comment on this ticket.

Metadata