We guide you create new backend account for magento 2 via command.
- Login to your server via ssh.
- Go to your magento source eg:
cd path/magento_source/
- Use command:
php bin/magento admin:user:create --admin-user='new-account' --admin-password='123QWE123' --admin-email='email@yourdomain.com' --admin-firstname='MLX' --admin-lastname='STORE'
- You will receiced message
Created Magento administrator user named new-account