4.3. Adding new users in the IdM directory
Before you can add users in the Red Hat Enterprise Virtualization Manager, you must first add them the IdM directory. For this track, you need at least two users. The names used in this guide are
rhevpower and rhevuser. Perform the following procedure on the Manager server.
- To add users you must first authenticate as the directory server administrator. Use the
kinitcommand to do this, entering the administrator password when prompted.admin$
kinitPassword for admin@DIRECTORY.DEMO.REDHAT.COM:admin - To add a user interactively use the
ipacommand. The command will prompt you for all values required to create the user.user-add$
ipaFirst name: RHEV Last name: User User login [rhevuser]: --------------------- Added user "rhevuser" --------------------- User login: rhevuser First name: RHEV Last name: User Full name: RHEV User Display name: RHEV User Initials: RU Home directory: /home/rhevuser GECOS field: rhevuser Login shell: /bin/sh Kerberos principal: rhevuser@DIRECTORY.DEMO.REDHAT.COM UID: 1316000004user-add - To allow the new user to log in you must set their initial password. Use the
ipacommand, followed by the user name for which you are setting the password, to do this.passwd$
ipaPassword: Enter Password again to verify: ---------------------------------------------------------- Changed password for "rhevuser@DIRECTORY.DEMO.REDHAT.COM" ----------------------------------------------------------passwdrhevuser - A new user has been added to the directory server and their password has been set. You are now able to add them to the Red Hat Enterprise Virtualization Manager. For this track, repeat Step 2 and Step 3 for another user called
rhevpowerand as necessary for other users.
Now you know how to create users for Red Hat Enterprise Virtualization. Next you will learn how to assign roles and privileges to these users.