#1  
Old 11th August 2007, 09:08
peters peters is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Admin Password

Hello,
Some time ago I installed ISPConfig on a local machine for testing some webapplications. Now I just wanted to use it again, but I forgot my admin's account data .
Is there a way to get this data?

Thanks,
Reply With Quote
Sponsored Links
  #2  
Old 11th August 2007, 10:53
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

You can try this http://www.howtoforge.com/forums/sho...admin+password
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 11th August 2007, 11:15
peters peters is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

great, thanks!
Reply With Quote
  #4  
Old 29th August 2007, 12:36
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by edge
I have the same problem. But,I am using FC3 + Ispconfig 2.0.9. The database name is db_ispc, instead of db_ispconfig.

How can I update ispconfig admin's password with phpmyadmin?
Reply With Quote
  #5  
Old 30th August 2007, 21:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Go to the sys_user table, select the admin record, and put in a new password (using the MD5 function to encrypt it).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 6th September 2007, 11:14
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default Admin Password

I have modified the password according to your instruction and rebooted the server. But, when I opend http://www.xxx.com.te:81, enter "admin" as username and the newly modified password; I still get an error message: "ERROR 101: wrong username or password". Is there any other way or configure file to find out the problem?
Reply With Quote
  #7  
Old 6th September 2007, 12:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Please check in the database oif the password is encrypted and not saved as plaintext.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 10th September 2007, 07:14
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default Admin Password

Quote:
Originally Posted by till
Please check in the database oif the password is encrypted and not saved as plaintext.
I have checked the database (named db_ispc) . The password is encrypted in MD5 and not saved as plaintext,something like "xxxx1791ad08xxxxd91b55xxx60".

I have tried to uninstall IspConfig,but an error message always display at command line:

[root@server5 ispconfig]#./uninstall
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
No results found!
[root@server5 ispconfig]#


config.inc.php starting from line 47 looks like:
*******************
$link = @mysql_connect($go_info["server"]["db_host"], $go_info["server"]["db_user"], $go_info["server"]["db_password"])
or die("Could not connect to MySQL server!");
mysql_select_db($go_info["server"]["db_name"]);
$server_params = mysql_query("SELECT * FROM isp_server WHERE doc_id = '".$go_info["isp"]["server_id"]."'");
if(!$go_info["isp"]["server_conf"] = mysql_fetch_array($server_params)){
die("No results found!");
} else {
foreach($go_info["isp"]["server_conf"] as $key => $value) {
$value = trim($value);
while(strlen($value) > 1 && substr($value,-1) == "/") $value = substr($value,0,strlen($value)-1);
$go_info["isp"]["server_conf"][$key] = $value;
}
$key = NULL;
$value = NULL;
}
mysql_free_result($server_params);
$server_params = mysql_query("SELECT server_ip FROM isp_server_ip WHERE server_id = '".$go_info["isp"]["server_id"]."'");
while ($row = mysql_fetch_array($server_params)) {
$ips[] = $row['server_ip'];
**************************

What else should I do to recover admin's password or to uninstall IspConfig?
Reply With Quote
  #9  
Old 10th September 2007, 08:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

You can not recover the password anymore as you destroyed the ISPConfig installation with your uninstall attempt.

To uninstall ISPConfig completely, delete the mysql database manually and run:

rm -rf /home/admispconfig
rm -rf /root/ispconfig
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 10th September 2007, 10:22
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
 
Default Admin Password

Quote:
Originally Posted by till
You can not recover the password anymore as you destroyed the ISPConfig installation with your uninstall attempt.

To uninstall ISPConfig completely, delete the mysql database manually and run:

rm -rf /home/admispconfig
rm -rf /root/ispconfig
The Server has already two groups called web1x and web2x and more than 10 users under web2x group named as web2x_[username]. If I uninstall ISPConfig completely as you instructed above and reinstall ISPConfig,how do I keep all the groups and users' data as they are?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reset password admin CleberDantas Tips/Tricks/Mods 1 25th June 2007 19:50
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 03:32
Installation Problem - Lost admin password Novacom Installation/Configuration 5 29th November 2006 05:44
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40
ISPConfig admin Password linuxuser1 Installation/Configuration 2 21st October 2005 13:38


All times are GMT +2. The time now is 00:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.