Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1320841

Summary: [RFE] Option to rename the user, group, hostname entries in Red Hat Hat IDM through GUI.
Product: Red Hat Enterprise Linux 7 Reporter: Abhinay Reddy Peddireddy <apeddire>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED UPSTREAM QA Contact: Kaleem <ksiddiqu>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: afarley, ldelouw, mkosek, pasik, pvoborni, rcritten
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-22 21:42:09 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:
Embargoed:
Attachments:
Description Flags
Screen shot of user properties which shows there is no option to rename the userlogin. none

Description Abhinay Reddy Peddireddy 2016-03-24 07:38:39 UTC
Created attachment 1139855 [details]
Screen shot of user properties which shows there is no option to rename the userlogin.

Description of problem:

IDM doesn't have an option to edit the user login, Group name , Host name entries through GUI.

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

In all the versions of IPA. 

How reproducible:

Steps to Reproduce:

1. Install an IPA server on RHEL. 
2. Add the user, group entries. 
3. Try to rename the user, group , Host name entries through GUI. 

Actual results:

No option to edit the above mentioned entries through GUI as shown in the attachment. 

Expected results:

Utility or option to rename the above mentioned entries through GUI. 

Additional info:

This can be done through command line as below : 

# ipa user-mod --rename=<newname> <oldname>

For Example :

# ipa user-mod --rename=testusernew testuser
---------------------
Modified user "testuser"
---------------------
User login: testusernew
First name: test
Last name: user
Home directory: /home/testuser
Login shell: /bin/sh
Email address: testuser
UID: 66006
GID: 66006
Account disabled: False
Password: True
Member of groups: ipausers
Kerberos keys available: True

Similarly with group names as below : 

# ipa group-mod  --rename=<newgroupname>  oldgroupname

Comment 2 Petr Vobornik 2016-03-29 11:33:50 UTC
It is possible to extend Web UI to support equivalent of:
  user-mod --rename
  group-mod --rename

But host-mod doesn't have a rename option. I would confine this BZ only to users and groups. 

For host it is better to open separate bz to support rename. Then the new bz will be evaluated.

Comment 3 Petr Vobornik 2016-04-08 08:57:41 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5795

Comment 7 Amy Farley 2019-06-22 21:42:09 UTC
I would like to allow this to be done in the upstream, where we pull it in later.

Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5795


I am going to close this as UPSTREAM