In this article, let’s see how you can retrieve admin password if you forget it. If you know the email address that was used for the admin user, and you have made the “lost password” feature available on the front end, the simplest thing is to do is to use the “lost password” Front-end function. There are times that when you develop your Joomla! application on localhost and the mail function is not properly set up, so you can’t use email to retrieve your password if you forget.
So for those who can’t use the email to retrieve, you will need access to the MySQL database. You got two options, either add a new super administrator or change the password stored in the data base. To do so you need to go to phpMyAdmin (or use a similar tool) and manually alter the database. Before doing this, back up your entire Joomla! database.
From phpMyAdmin, you can run the following SQL query to create a new user known as adminb.
INSERT INTO `jos_users` VALUES
(62, 'Administrator2', 'adminb', 'your-email@email.com', '21232f297a57a5a743894a0e4a801fc3',
'Super Administrator', 0, 1, 25, '2005-09-28 00:00:00', '2005-09-28 00:00:00', '', '');
INSERT INTO `jos_core_acl_aro` VALUES (10,'users','62',0,'Administrator2',0);
INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25,'',10);
The password will be admin. Immediately log in and change this password and make any other changes to other admin users.
A second option would be to change the password in the table for your admin user. The password is stored in the MySQL database jos_users table password column. (Change this for your table prefix if different.)
Go to the table, find the row for your admin user, and then select that row for editing. The password must be hashed, you cannot simply enter text into this field.
Set the password to one of the known values shown below:
- password = "this is the MD5 hashed password"
------------------------------------------------------
- admin = 21232f297a57a5a743894a0e4a801fc3
- secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- OU812 = 7441de5382cf4fecbaa9a8c538e76783
Paste the hashed password into the field, save the change, and log in using the new password. Immediately change your password to something more secure!
skip to main |
skip to sidebar
Thursday, August 12, 2010
Labels
- iPhone (8)
- Joomla (3)
- Mobile Phones (3)
- My Life (7)
- Photologs (3)
- Tips and Tricks (4)
- Ubuntu Stuff (14)
Blog Archive
-
▼
2010
(43)
-
▼
August
(19)
- Happy Independence Day :)
- Iftar @ Wong Solo
- Installing Frash the easy way
- iPhone 4 wallpaper size
- How to Format Nokia Phones (almost all N series an...
- Changing Joomla favicon
- How to retrieve joomla admin password
- How to setup Logwatch on Ubuntu Server
- Selamat Meyambut Ramadhan Al-Mubarak.
- Changing Your iPhone’s Default SSH Password
- Changing iPhone SMS Tones
- How to make iPhone ringtones on Mac for free?
- Bending the four elements
- How To Turn Off Spell Check On Your iPhone 4
- Iphone 4 : Activation, Jailbreak and Unlocked
- Install Awstats on Ubuntu 10.04
- Make your Ubuntu Lucid Lynx look pretty.... :)
- MSL - Malaysian Super League
- How To Install And Configure GreenSQL In Ubuntu 9.10
-
▼
August
(19)
Pages
dr rude's blog |. Powered by Blogger.
Blog Archive
-
▼
2010
(43)
-
▼
August
(19)
- Happy Independence Day :)
- Iftar @ Wong Solo
- Installing Frash the easy way
- iPhone 4 wallpaper size
- How to Format Nokia Phones (almost all N series an...
- Changing Joomla favicon
- How to retrieve joomla admin password
- How to setup Logwatch on Ubuntu Server
- Selamat Meyambut Ramadhan Al-Mubarak.
- Changing Your iPhone’s Default SSH Password
- Changing iPhone SMS Tones
- How to make iPhone ringtones on Mac for free?
- Bending the four elements
- How To Turn Off Spell Check On Your iPhone 4
- Iphone 4 : Activation, Jailbreak and Unlocked
- Install Awstats on Ubuntu 10.04
- Make your Ubuntu Lucid Lynx look pretty.... :)
- MSL - Malaysian Super League
- How To Install And Configure GreenSQL In Ubuntu 9.10
-
▼
August
(19)
0 comments:
Post a Comment