Quickly add one to many users to an OpenStack Project regardless if they exist or not.
Create a text file containing the email addresses of the users you want to add.
For example:
This text file will be used as input for the script.
User names will be generated from the user part of the email address.
If the OpenStack Project you want to add the users to is not already created, create it. You will use the name of the OpenStack Project as input for the script.
Finally, run the bash script:
sh add-openstack-users-to-project.sh /path/to/emails.txt openstack-project-name
The bash script will verify if the user already exists.
If the user already exists, the user is simply added to the specified OpenStack Project.
If the user does not exist, the user is created and added to the specified OpenStack Project. A secure password share link is generated for that user.
Share the output of the bash script with the appropriate users.
Quickly reset many user's password.
Create a text file containing the email addresses of the users you want to reset the passwords of.
For example:
This text file will be used as input for the script.
User names will be generated from the user part of the email address.
Finally, run the bash script:
sh reset-openstack-users-password.sh /path/to/emails.txt
The bash script will reset existing user's password and generate a secure password share link.
Share the output of the bash script with the appropriate users.