How to change magento 2 admin user and password

I want to know how to change admin password and user in magento 2 . I installed through vue-storefront/cli. Does it have a default admin user and password?
2 Replies
Kishor
Kishor2y ago
You can run the below command from Magento root. php bin/magento admin:user:create --admin-user="admin" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Magento" --admin-lastname="Devloper" It will create a user with "admin" as username and "admin123" as password.
amnesia
amnesiaOP2y ago
thank you!

Did you find this page helpful?