Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Requires n98-magerun
- n98-magerun admin:user:list --format=csv | grep ,active | while read row;
- do
- user=$(echo $row | cut -d, -f2)
- pass=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w10 | head -n1)
- echo "$user -> $pass"
- n98-magerun admin:user:change-password $user $pass >/dev/null
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement