
14th November 2006, 09:19
|
|
Junior Member
|
|
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Deleted admin account
Hi,
I've done a very stupid mistake and deleted the admin account on a OS level.
Is there any way I can still access my ISPConfig?
I've tried recreating the username, but without success.
Thank you.
|

14th November 2006, 10:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,895
Thanks: 693
Thanked 4,191 Times in 3,208 Posts
|
|
You mean the ISPConfig admin user in the mysql database? Do you have access to the database with e.g. phpmyadmin?
|

14th November 2006, 11:38
|
|
Junior Member
|
|
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
the ISPConfig admin; I have access to the database (no phpmyadmin, but console).
|

14th November 2006, 11:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,895
Thanks: 693
Thanked 4,191 Times in 3,208 Posts
|
|
Quote:
|
Originally Posted by sn3f3ru
the ISPConfig admin; I have access to the database (no phpmyadmin, but console).
|
Please run this SQL command in the ISPConfig database to get a new admin user:
Code:
INSERT INTO `sys_user` (`doc_id`, `doctype_id`, `groupid`, `username`, `passwort`, `pwcl`, `design`, `gueltig`, `language`, `mailmax`, `bookmark_order`, `email`, `news`, `modul`, `nav_color`, `box_color`, `site`, `domain`, `perms`, `modules`, `anrede`, `vorname`, `name`, `strasse`, `plz`, `ort`, `telefon`, `fax`, `email_home`, `alter1`, `woher`, `land`, `passwortRecover`, `newsletter`, `userid`) VALUES
(1, 1, 0, 'admin', '21232f297a57a5a743894a0e4a801fc3', '', 'blau', 1, 'en', 5120000, 1, 'admin', 1, 'isp', '123456', 'E4E4E4', 'ISPConfig', 'ispconfig.de', 'rwa', 'sys,isp,dns,isp_file,isp_fakt,tools,help', 'Herr', '', '', '', '', '', '', '', '', '', '', 'Deutschland', '', 0, 1);
The password is "admin".
|

14th November 2006, 12:03
|
|
Junior Member
|
|
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Many thanks Till, this did the trick.
Have a nice day.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:40.
|
Recent comments
6 hours 28 min ago
15 hours 56 min ago
16 hours 45 min ago
20 hours 18 min ago
1 day 43 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 13 hours ago
1 day 18 hours ago
1 day 19 hours ago