Social Icons

twitterfacebookgoogle pluslinkedinemail

Thursday, 6 October 2016

Magento 2: how to create new admin user without access backend

Hello Friends,

In Magento2, Sometime your account is disabled or forgot the password of your current admin user and you can not update the password from database because magento 2 use the encrypted technique
So, don't worry about it. here is the very simple trick to create new user.

For this you must have ssh access because you can create new user using the command in magento 2.

php setup_magento2/bin/magento admin:user:create --admin-user anant --admin-password anant101289 --admin-email --admin-firstname Anant --admin-lastname Prajapati

Now You can login with this user and update your current user password from back-end.

Hope, this trick will help you to resolve your reset password / forgot password / new user issue.

Enjoy Your Self

1 comment :

  1. UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxxNewPassword', 256), ':xxxxxxxx:1') WHERE username = 'admin';

    this will help us also



Free Advertisement

Free Advertisement

Free Advertisement

Free Advertisement