reset joomla password

reset password to admin
b879ab14d7714ea03e895b1020cbf30b:x9EldOFwGZ5Ou6albXI9VId8Xj6ou2Te
which is generated by

$pass = 'admin';
$salt = 'x9EldOFwGZ5Ou6albXI9VId8Xj6ou2Te';
echo md5($pass.$salt).':'.$salt;

then run the sql

INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`, `activation`, `params`) VALUES (80,'must-not-admin','zycbob','[email protected]','b879ab14d7714ea03e895b1020cbf30b:x9EldOFwGZ5Ou6albXI9VId8Xj6ou2Te','Super Administrator',0,0,25,'2011-08-09 12:54:15','2011-08-11 01:53:00','','admin_language=en-GB\nlanguage=en-GB\neditor=jce\nhelpsite=http://help.joomla.org\ntimezone=9.5\n\n');

logout page url
http://localhost/joomla/administrator/index.php?option=com_login&task=logout

你可能感兴趣的:(password)