dadimhome Posted December 23, 2020 Share Posted December 23, 2020 I have been trying to login to the panel for 4h i have serched web and reinstalled the panel multiple times but the admin credentials i put it does not work to login with. Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 INSERT INTO `panel_admins` SET `adminid` = 1, `loginname` = 'admin', `password` = 'SHA-256-HASH-OF-YOUR-PASSWORD', `name` = 'Siteadmin', `email` = 'admin@FROXLORHOSTNAME', `api_allowed` = 1, `customers` = -1, `customers_see_all` = 1, `caneditphpsettings` = 1, `domains` = -1, `domains_see_all` = 1, `change_serversettings` = 1, `diskspace` = -1024, `mysqls` = -1, `emails` = -1, `email_accounts` = -1, `email_forwarders` = -1, `email_quota` = -1, `ftps` = -1, `subdomains` = -1, `traffic` = -1048576; Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 i want to know where the accounts are located Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 Have you tried another browser? Possibly the session is being blocked. Or you somehow manage to change IP on every request so the session is invalid. No idea how the "where is the account located" answer will help but: in froxlor's database in the table 'panel_admins'. Password is (default) SHA256 encrypted Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 There is nothing under panel_admins Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 Then there's something wrong with your installation. What OS? Which PHP Version? Which database server? Version? Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 Ubuntu 20.04, PHP 7.4.13, MariaDB Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 MariaDB version: 10.5.8+maria~focal Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 Can i make accounts from the command line in the ssh? Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 You can of course create an admin using SQL directly. It's not recommended though. I'd rather try to find out what went wrong with the install process. There should be some error messages somewhere, usually when an error occurs the installation is not completed successfully Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 there is no error messages, what do i do to make the account in the mysql? I have phpmyadmin Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 Still cant log in. Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 1 hour ago, d00p said: Have you tried another browser? Possibly the session is being blocked. Or you somehow manage to change IP on every request so the session is invalid. Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 It found the account and gave me This account has been suspended because of too many login errors. Please try again in 900 seconds. Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 I used this to get the sha for pass https://passwordsgenerator.net/sha256-hash-generator/ Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 try this php script: <?php echo 'SHA-256: ' . crypt($argv[1], '$5$' . md5(uniqid(microtime(), 1)) . md5(uniqid(microtime(), 1))).PHP_EOL; and call it with "php script.php PASSWORD" to generate the hash for PASSWORD Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 can i remove the 15 min suspension? Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 set loginfail_count to 0 Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 Where? Link to comment Share on other sites More sharing options...
0 d00p Posted December 23, 2020 Share Posted December 23, 2020 panel_admins of course for the entry you want to reset Link to comment Share on other sites More sharing options...
0 dadimhome Posted December 23, 2020 Author Share Posted December 23, 2020 Thanks for your help, i was able to login now. Link to comment Share on other sites More sharing options...
Question
dadimhome
I have been trying to login to the panel for 4h i have serched web and reinstalled the panel multiple times but the admin credentials i put it does not work to login with.
Link to comment
Share on other sites
20 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now