Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for uid in $(wp user list --field=ID)
- do
- pass=`< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32}`
- wp user update $uid --user_pass="$pass"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement