{"id":390,"date":"2011-12-30T06:06:24","date_gmt":"2011-12-30T06:06:24","guid":{"rendered":"http:\/\/www.nirvaat.com\/?p=390"},"modified":"2011-12-30T06:07:51","modified_gmt":"2011-12-30T06:07:51","slug":"reset-password-of-joomla-1-0-x-administrator","status":"publish","type":"post","link":"https:\/\/nirvaat.com\/blogs\/2011\/12\/reset-password-of-joomla-1-0-x-administrator\/","title":{"rendered":"Reset password of Joomla 1.0.x Administrator"},"content":{"rendered":"<p>Recently I need to upgrade one Joomla 1.0.x installation to the new installation. If you are also dealing with Joomla 1.0 installation to upgrade or maintain and missed the password for admin user.\u00a0 This can also be useful if you need to add new admin user, without disturbing the old user records. Then here are the simple steps to reset the same. It took me some time to find the correct hard way to do it.<\/p>\n<p>To just reset the password and user name to admin, execute the following query in the phpMyAdmin or MySql command prompt:<\/p>\n<p>UPDATE `jos_users` SET `password` = MD5( &#8216;&lt;<strong>new_password<\/strong>&gt;&#8217; ) WHERE `jos_users`.`username` = &#8220;<strong>admin<\/strong>&#8221; ;<\/p>\n<p>Do remember to change the table prefix and username to whatever you have in your database. This is quiet easy. But if need to add a completely\u00a0 new user to database without admin access then following steps will help you &#8211;<\/p>\n<p><strong>1. First create a new user record in users table. You can use the insert method of the phpMyAdmin when jos_users table is open. Input following values:<\/strong><\/p>\n<p>Name: admin<br \/>\nUsername: admin<br \/>\nEmail: your-email@email.com<br \/>\nPassword: af9083d4b82dbc0745b124db3b3cf15d:M0WuLowO4rtRTddG<br \/>\nUser Type: Super Administrator<\/p>\n<p>Then click on Go. This will set the user name and password to &#8220;admin&#8221;.\u00a0 Note the new Id assigned to the user, you will need that in next step.<\/p>\n<p><strong>2. Now add a record in the ACL for new user, created above. Open the &#8220;jos_core_acl_aro&#8221; table and insert a new record:<\/strong><\/p>\n<p>Section Value: users<br \/>\nValue: &lt;Generated id of the new user in previous step&gt;<br \/>\nOrder Value: 0<br \/>\nName: admin<\/p>\n<p>Click on Go button to save the data. Note the ID of new inserted record, this will be needed in next step.<\/p>\n<p><strong>3. Map the new ACL record to group. Open &#8220;jos_core_acl_groups_aro_map&#8221; table and insert a new record:<\/strong><\/p>\n<p>Group ID: 25<br \/>\nARO ID: &lt;New generated ID from previous step&gt;<\/p>\n<p>Click on Go to save the record. That&#8217;s it.<\/p>\n<p>Now you should be able to log-in to administration panel by entering <strong>User name: admin and Password: admin.<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I need to upgrade one Joomla 1.0.x installation to the new installation. If you are also dealing with Joomla 1.0 installation to upgrade or maintain and missed the password for admin user.\u00a0 This can also be useful if you need to add new admin user, without disturbing the old user records. Then here are [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[26,4],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-quick-fixes","category-web-development"],"_links":{"self":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":3,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/390\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}