User administration (AER 2.32)

As of Anaconda Repository version 2.28, administrators can use the Administration menu to promote users to Staff or Superuser status.

The Staff user and Superuser can view the following sections of the Administration:

  • Reports
  • User administration
  • License downloads
  • Trial licenses
  • Current LDAP configuration
  • Current server configuration
  • Downloads summary
  • Downloads from a specific address
  • Security feed and security feed details
  • Storage administration

The Staff user and Superuser have the following privileges:

  • Create licenses
  • Download a CSV of the user database
  • Search for a package in the Administration panel
  • Re-send confirmation emails to users
  • Re-send password reset emails to users
  • Download a CSV with the users emails

In addition to all of the above, a Superuser can also view the following from the Administration:

  • Plans
  • User details

To promote an existing user to a superuser or staff user, from the Admin’s left navigation, select Accounts, then select the username you wish to promote. This brings up the user information page:

../../../_images/anaconda-repository/2.32/repo-admin-superuser-staff.png

Click the Set Staff button to give the user staff privileges.

Click the Set Superuser button to give the user superuser privileges.

In the dialog box that appears, confirm by re-typing the user’s name, then click the Set button.

Add a user

New users can navigate to your local Anaconda Repository web page and sign themselves up for an account, or the administrator can add them using the command line:

anaconda-server-create-user --username "jsmith" --password "abc123DEF"  --email "jsmith@acme.com"

NOTE: Replace jsmith, abc123DEF, and jsmith@acme.com with the actual username, password, and email address of the new user.

Remove a user

  1. Log into your Anaconda repository administrative account.
  2. Navigate to the following url: http://your.anaconda.repository:<port>/admin/report
  3. Choose “Accounts”.
  4. Select the username of the user you wish to remove.
  5. Choose “Delete user”.
  6. Optional: Use anaconda-server-admin clean-storage to remove files from that user’s account.

Resending welcome emails to new users

To send emails Anaconda Repository must have the email settings configured.

If a user reports that they did not receive their welcome email after registering on your local Anaconda Repository web page, it may have been caught in a spam filter. An administrator can regenerate and manually send this email.

Resend welcome email:

  1. Log into your Anaconda repository administrative account.
  2. Navigate to the following url: http://your.anaconda.repository:<port>/admin/resend_email/password_reset
  3. Click the “Confirmation” tab.
  4. Enter the user’s email address and re-generate the email template.
  5. Send the email to the user.

Resetting user passwords

If a user forgets their password, an administrator can request a reset link to provide to the user.

To send emails Anaconda Repository must have the email settings configured.

  1. Go to the following url: http://your.anaconda.repository:<port>/admin/resend_email/password_reset
  2. Select the “Password Reset” tab.
  3. Enter the user’s email address.
  4. The graphical user interface will generate a password reset link.
  5. Email the link to the user.

Administrators can also reset passwords without sending emails:

anaconda-server-admin reset-password jsmith

NOTE: Replace “jsmith” with the username whose password you want to reset.

Changing a user’s storage size or changing their plan to free unlimited

At [your repo]/admin/report choose “Accounts”, then the username, then “Update Storage” or “Set free unlimited plan”

  1. Log into your Anaconda repository administrative account.
  2. Navigate to the following url: http://your.anaconda.repository:<port>/admin/report
  3. Choose “Accounts”.
  4. Select the username of the user whose account you wish to change.
  5. To update the storage limits choose “Update Storage”.
  6. To set the user’s plan to free and unlimited choose “Set free unlimited plan”.