shell script change password magento 2
#!/usr/bin/env bash
#
# change the numbers to a random string in each case
# UPDATE db_local.admin_user SET password = CONCAT(SHA2('12345678Kouch-123', 256), ':12345678:1') WHERE username = 's48admin';
mysql -uUSER -pPASS -hHOST -e "UPDATE party_local.admin_user SET password = CONCAT(SHA2('1234567password', 256), ':12345678:1') WHERE username = 's48admin';"