Created
September 8, 2018 09:38
-
-
Save manojind/540838d1f68513bdef445f95b39e7d51 to your computer and use it in GitHub Desktop.
magento 2.2.5 create new admin user biv CLI command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bt CLI command : Run from magneto root | |
php bin/magento admin:user:create --admin-user='new-user' --admin-password='pass' --admin-email='admin@mail.com' --admin-firstname='Admin' --admin-lastname='Admin' | |
–admin-user-> Admin account username (required). | |
–admin-password-> Admin User account password (required). | |
–admin-email-> Admin user account’s email address (required). | |
–admin-firstname-> Admin user’s first name (required). | |
–admin-lastname-> Admin user’s last name (required). | |
B : Admin dashboard | |
Step 1: Configure User Information | |
On the Admin panel, click System. In the Permissions section, select All Users. | |
In the upper-right corner, click Add New User button | |
In the Account Information section, do the following: | |
In the User Name field, enter the user name for account. It is not case-sensitive. | |
Complete the following information: | |
First Name | |
Last Name | |
Email address: this email address must be unique. | |
In the Password and Password Confirmation field, enter correctly the password, the password should be secured, should contain more than seven characters and should include both letters and numbers. | |
In the Interface Locale field, select the language to be used for the Admin interface if your store has multiple languages. | |
In the This Account is field, set to Active | |
In the Current User Identity Verification section, enter your password in Your Password. | |
Step 2: Determine User Role | |
In the panel on the left, choose User Role. The grid lists all the existing roles. Initially, the only role available is Administrators. | |
In the Assigned column, select the Administrators option. | |
When complete, click Save User. | |
It comes to the end of tutorial: How to Create New Admin User in Magento 2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment