Skip to content

Commit

Permalink
new repo, add pwgen
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Cassiba committed Nov 29, 2011
1 parent da7f945 commit 371a5eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pwgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

FILE=users.txt

for user in $(cat $FILE)
do
PASS=$(</dev/urandom tr -dc A-Za-z0-9 | head -c15)
echo $user "$PASS"
done

0 comments on commit 371a5eb

Please sign in to comment.