Created
August 31, 2014 22:32
-
-
Save epequeno/63bbb4fa9793b047597b to your computer and use it in GitHub Desktop.
pw-reset.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PASSWORD=123456 | |
for i in {1..10}; do | |
if [[ $i -lt 10 ]]; then | |
echo -e "$PASSWORD\n$PASSWORD" | ipa user-mod tnt0$i --password | |
else | |
echo -e "$PASSWORD\n$PASSWORD" | ipa user-mod tnt$i --password | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment