How to Create New Admin User in Magento 2
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:
-
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:
1php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=test@meetanshi.com --admin-firstname=the --admin-lastname=meetanshiWhen the execution of the command is completed, the success message is displayed.
-
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.
- Save the user and its done!
Hopefully, you’d get the solution you’re looking for!
If you still have any question, drop your query in the comment section below and I will get back to you!
Rate the post with 5 stars if you liked it ?
Thank You!
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
Prev
How to Upgrade Magento to the Latest Version
How to Set Cron in Magento 2
Next