Magento – Create new user using CLI in magento 2 enterprise version

magento-enterprisemagento2

below command is working in magento 2 enterprise version ?

sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"

Best Answer

You can create a new admin user by below command, I have created in eterprise edition

php bin/magento admin:user:create --admin-user='pearlbells' --admin-password='pear122lall' --admin-email='pearl@gmail.com' --admin-firstname='Admin' --admin-lastname='Admin'

Now you can login with User Name : pearlbells and Password : pear122lall

Related Topic