Locked Out from Magento admin?

简介:

 

lock

 

Here’s the situation, you, client, webmaster, pet or whoever was playing with users and roles in your favorite store and deleted only main admin account or broke admin account privileges. If it happened to you and you’re locked out from your Magento store, read on.

This script creates new admin user associated to new Inchoo role with all privileges set. Of course, you have to have FTP access for this to work.

 

newadmin.zip

 

Download newadmin script, unpack it, open newadmin.php file (notepad will do) and define username, email and password of the new user. Username and email must be UNIQUE in Magento, so use some new ones and not the old ones that are already in the system, you’ll change it later after you login.


Connect with FTP and copy newadmin.php file to root of your store and run it through web browser like

 

http://www.yourstore.com/newadmin.php

 

The script will try to delete itself after user is created, but please make sure it’s removed from the server. Code is tested on 1.3.x versions of Magento and I don’t believe it will work on older versions, so please write some feedback.

 

Regards ;)

 

出处:http://inchoo.net/ecommerce/magento/locked-out-from-magento-admin/

 

目录
相关文章
|
8月前
|
存储 数据安全/隐私保护 开发者
LDAP 和 Active Directory 的区别
【4月更文挑战第10天】
1028 4
|
消息中间件 容器
abbitmq启动报错 .erlang.cookie must be accessible by owner only
abbitmq启动报错 .erlang.cookie must be accessible by owner only
161 0
|
PHP
【laravel】访问时You don‘t have permission to access on this server.
【laravel】访问时You don‘t have permission to access on this server.
339 0
【laravel】访问时You don‘t have permission to access on this server.
|
数据库 数据库管理 Python
微信破解,解密?How To Decrypt WeChat EnMicroMsg.db Database?
20元现金领取地址:http://jdb.jiudingcapital.com/phone.html内部邀请码:C8E245J (不写邀请码,没有现金送) 国内私募机构九鼎控股打造,九鼎投资是在全国股份转让系统挂牌的公众公司,股票代码为430719,为“中国PE第一股”,市值超1000亿元。
1976 0
pg_admin网页端
**备份还原**
141 0
pg_admin网页端
|
PHP
【laravel报错】You don‘t have permission to access /laravel/public/index.php on this server.
【laravel报错】You don‘t have permission to access /laravel/public/index.php on this server.
137 0
【laravel报错】You don‘t have permission to access /laravel/public/index.php on this server.
|
JavaScript 区块链 Python
Web3.js账户解锁问题。error: authentication needed: password or unlock。
我对如何使怎么用Web3.js 1.0认证和发送提交智能合约的方法感到很困惑。 这是工作代码(通常我要先手动解锁帐户): var contract = new web3.
4461 0