RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Reset a Joomla admin password from a Linux terminal

Here are couple simple to follow steps on how to reset a Joomla password from a Linux terminal. This guide assumes that you have an access to your mysql database via Linux terminal.

First choose your new password. For example let's use "joomla-password-reset" as a new password. Generate md5-hash from your new password:

 

$ echo -n "joomla-password-reset" | md5sum
7263e3513f08b709f55626bcc6d75ac7

Have your md5 hash password ready and login to your database:

$ mysql -p -u username

In the next step select your joomla database.

mysql> use joomla_database_name;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql>

The default ID of an admin user is 62. Unless you have not done anything to change it this is your admin user too. Execute a following mysql command to reset your joomla password to "joomla-password-reset" password:

mysql> update jos_users set password='7263e3513f08b709f55626bcc6d75ac7' where id='62';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> 

All done. Now navigate your browser to your admin page and enter new password: joomla-password-reset

Share this linux post:

Submit Reset a Joomla admin password from a Linux terminal in Delicious Submit Reset a Joomla admin password from a Linux terminal in Digg Submit Reset a Joomla admin password from a Linux terminal in FaceBook Submit Reset a Joomla admin password from a Linux terminal in Google Bookmarks Submit Reset a Joomla admin password from a Linux terminal in Stumbleupon Submit Reset a Joomla admin password from a Linux terminal in Technorati Submit Reset a Joomla admin password from a Linux terminal in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download