-
Notifications
You must be signed in to change notification settings - Fork 3
Delete Tutorial Users
Tom Mitchell edited this page Aug 10, 2016
·
1 revision
After a tutorial is complete the temporary usernames must be deleted from the identity provider. The UI does not lend itself to this operation but it is possible to use shell scripting to delete a series of users.
for ((i=1; i <= 60 ; i++))
do
base=nfv15u
username=`printf "%s%02d" ${base} ${i}`
echo ${username}
curl -u ${AR_USER}:${AR_PASSWORD} "https://shib-idp.geni.net/manage/acct_actions.php?action=delete&id=${username}"
done