c96e1e65fb3f89f73f905e9eac5ca4edc6666815
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
- Download script to location of your choice
- Update variables at top of file, and service accounts groups listed on line 26
- Run Script
- Ensure user recieves email, and the NOTIFY_EMAIL address will also receive a notification
Languages
Shell
100%