Chapter 17. Users and Roles
17.1. Creating and Managing Users
17.1.1. Creating a User
Procedure 17.1. To Create a User:
- Navigate to → and then click .
- Enter the required details on the User tab.
- On the Locations tab, select the required locations for this user.
- On the Organizations tab, select the required organizations for this user.
- On the Roles tab, select the required roles for this user. Active roles are displayed in the right panel.
- Click to create the user.
17.1.2. Editing a User
Procedure 17.2. To Edit an Existing User:
- Navigate to → .
- Click the user name of the user to be altered. General information about the user will appear on the right.
- You can modify the user's username, first name, surname, email address, default location, default organization, language, and password in the tab.
- You can modify the user's assigned locations in the tab.
- You can modify the user's assigned organizations in the tab. If no organization is selected, the user can access all available organizations.
- You can modify the user's assigned roles in the tab.
- Click to save your changes.
17.1.3. Assigning Roles to a User
Procedure 17.3. To Assign a Role to a User:
- Navigate to → .
- Click the user name of the user that you want to modify. General information about the user appears on the right.
- Click the tab to display the list of available role assignments.
- Select role you want to assign to the user in the Roles list. The list contains the predefined roles, as well as any custom roles, see Table 17.1, “Predefined Roles Available in Red Hat Satellite”. Alternatively, select the Administrator check box to assign all available permissions to the selected user.
- Click .
17.1.4. Configuring Email Notifications
Procedure 17.4. To Configure Email Notifications:
- Navigate to → .
- Click the user name of the user you want to edit.
- On the Mail Preferences tab, select Mail enabled to enable updates.
- Select the type of notifications the user will receive. The following notification types are available:
- is a notification sent after a host reports an error related to Puppet. To enable these notifications, select from the drop-down menu.
- is a summary of Puppet reports. Choose the frequency of emails from the drop-down list that offers , , or updates.
- is a summary of applicable and installable errata for hosts managed by the user. Choose the frequency of emails from the drop-down list that offers , , or updates.
- is a notification sent only after a content view promotion. It contains a summary of errata applicable and installable to hosts registered to the promoted content view. This allows you to monitor what updates have been applied to which hosts. To enable these notifications, select from the drop-down menu.
- is a notification sent only after synchronizing a repository. It contains a summary of new errata introduced by the synchronization. To enable these notifications, select from the drop-down menu.
- Click .
/etc/foreman/email.yaml. You can select to deliver messages through an SMTP server or using the sendmail command. For example, the following configuration uses SMTP as a delivery method:
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.example.com
port: 25
domain: example.com
authentication: :login
user_name: satellite@example.com
password: satelliteuser_name and password directives specify the login credentials for the SMTP server. The default /etc/foreman/email.yaml contains authentication: :none.
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :plain
user_name: "user@gmail.com"
password: "password"Note
- Mark the CA certificate of the SMTP server as trusted. To do so, execute the following commands on the Satellite server:
# cp mailca.crt /etc/pki/ca-trust/source/anchors/ # update-ca-trust enable # update-ca-trust
Where mailca.crt is the CA certificate of the SMTP server. - Alternatively, add the following directive to
/etc/foreman/email.yamlunder smtp_settings:enable_starttls_auto: :false
sendmail command as a delivery method:
production:
email_delivery:
delivery_method: :sendmail
sendmail_settings:
arguments: "-i -t -G"arguments directive to pass command-line options to sendmail, default value of arguments is "-i -t". For more information see the sendmail(1) man page.
Important
/etc/foreman/email.yaml file, run the following command to apply the changes:
# katello-service restart
17.1.5. Removing a User
Procedure 17.5. To Remove a User:
- On the main menu, click → to open the Users page.
- Click the Delete link to the right of the username you want to delete.
- In the alert box, click to delete the user.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.