a guest Oct 2nd, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This can be setup in a bash initialization script as an alias
  2. alias mac='bin/magento admin:user:create --admin-user=mjohnson --admin-firstname=Matt --admin-lastname=Johnson --admin-password="$(openssl rand -base64 16 | colrm 17 | tee /dev/stderr 2> >(sed "s/^/Generated password: /g" > /dev/stderr))"'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand