If you would like to create Administrator accounts in your Magento 2x installation from your Terminal/SSH then try the following command:
N.B:The password must be at least 7 characters in length and must include at least one alphabetic and at least one numeric character. A longer & more complex password is recommended. Enclose the entire password & other fields string in single quotes & NOT DOUBLE QUOTES.
For example: --admin-password=''A0b9%t_3`g'
The following parameter & values are compulsory:
N.B:The password must be at least 7 characters in length and must include at least one alphabetic and at least one numeric character. A longer & more complex password is recommended. Enclose the entire password & other fields string in single quotes & NOT DOUBLE QUOTES.
For example: --admin-password=''A0b9%t_3`g'
php bin/magento admin:user:create --admin-user='your_username'
--admin-password='your_pass' --admin-email='your_email'
--admin-firstname='your_firstname' --admin-lastname='your_lastname'
The following parameter & values are compulsory:
- Name: --admin-firstname
Value: Magento administrator user's first name.
Required: Yes
- Name: --admin-lastname
Value: Magento administrator user's last name.
Required: Yes
- Name: --admin-email
Value: Magento administrator user's e-mail address.
Required: Yes
- Name: --admin-user
Value: Magento administrator user name.
Required: Yes
- Name: --admin-password
Value: Magento administrator user password.
Required: Yes
No comments:
Post a Comment
Thank you for your Feedback!
www.evagabond.me