Sometimes, Magento 2 store is managed by multiple people. There may be the requirement when all the store managers don’t need the full rights or the store owner may need to limit access to managers based on their responsibilities. Also, there is the time when you require providing the temporary access to your store. It’s when you require to create new admin user in Magento 2.
Creating multiple admin users simplify the store’s administration and management. Each admin plays a unique role in the store’s functioning. After done with this inMagento 2 create admin menu which will help you access any custom page in the admin panel.
Losing admin passwords is also a possibility when these methods will be useful to you!
Methods to Create New Admin User in Magento 2:
1. Using the Command Line
Launch the SSH terminal and connect to your Magento 2 store. Go to the root directory of your Magento 2 store and run the below command:
php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 [email protected] --admin-firstname=the --admin-lastname=meetanshi
When the execution of the command is completed, the success message is displayed.
2. Using the Admin Panel
- Login to admin panel and navigate to System -> All Users.
- On clicking Add New User, you’ll land on the user information tab, where account information is to be filled.

- Activate the account and input the password.

- Assign the user role as per your requirement as shown below.

Hopefully, you’d get the solution you’re looking for!
Thank You!