3.8. Using an IPA command to modify a user account in IdM
You can modify many parameters for each user account. For example, you can add a new password to a user.
Prerequisites
- You have administrator privileges.
Procedure
- Open a terminal and connect to the IdM server.
Enter the
ipa user-modcommand, specify the user to modify, and any options, such as--passwordfor adding a password:$ ipa user-mod euser --passwordThe command runs a script where you can add the new password.
Enter the new password and press the Enter key.
The IPA CLI prints the following output:
---------------------- Modified user "euser" ---------------------- User login: euser First name: Example Last name: User Home directory: /home/euser Principal name: euser@IDM.EXAMPLE.COM Principal alias: euser@IDM.EXAMPLE.COM Email address: euser@idm.example.com UID: 427200006 GID: 427200006 Password: True Member of groups: ipausers Kerberos keys available: TrueThe user password is now set for the account and the user can log into IdM.