For Magento 2

To edit an existing administrator you can use the same command as for creating a new administrator in CLI:

bin/magento admin:user:create [–<parameter_name>=<value>, …]

Required parameters:

–admin-firstname – Magento administrator user’s first name.

–admin-lastname – Magento administrator user’s last name.

–admin-email – Magento administrator user’s e-mail address.

–admin-user – Magento administrator user name.

–admin-password – Magento administrator user password.

If you’re editing an administrator, only the first name, last name, and password can be edited.

Example:

bin/magento admin:user:create --admin-user=admin --admin-password=123123w --admin-email=user@example.com --admin-firstname=Magento --admin-lastname=User

For Magento 1

1. Change the Magento administrator password through e-mail. To do this, follow these steps:

  • go to the Magento login page;
  • click Forgot your password?;
  • type the e-mail address associated with the account;
  • click Retrieve Password. Magento sends a message to the e-mail address associated with the administrator account;
  • in the message, click the link to reset the administrator password.

2.  Modify the Magento administrator password directly in the database using phpMyAdmin or the MySql client . You can execute the following MySQL query:

UPDATE `admin_user` SET `password` = md5(‘NEW_PASSWORD’) WHERE `username` = ‘ADMIN_USERNAME’;

admin_user – this is database table from the Magento database;

NEW_PASSWORD – the desired password which you want to be set;

‘ADMIN_USERNAME’ – your Magento administrative username

 

5.00 / 5.0
Article rating (10 Reviews)
Do you find this article useful? Please, let us know your opinion and rate the post!
Not badGoodVery GoodGreatAwesome