Script use to auto-generate tokens for all users not in defined service account groups

Russ Long c96e1e65fb Initial Commit 2 years ago
README.md c96e1e65fb Initial Commit 2 years ago
freeIPA_otp_tokens.bash c96e1e65fb Initial Commit 2 years ago

README.md

Purpose

To parse the list of users not in the defined service accounts group, and ensure all have OTP tokens configured. If they do not, generate a token and email it to the user.

Usage

  1. Download script to location of your choice
  2. Update variables at top of file, and service accounts groups listed on line 26
  3. Run Script
  4. Ensure user recieves email, and the NOTIFY_EMAIL address will also receive a notification