dadimhome Posted December 23, 2020 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.
0 d00p Posted December 23, 2020 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;
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 i want to know where the accounts are located
0 d00p Posted December 23, 2020 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
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 There is nothing under panel_admins
0 d00p Posted December 23, 2020 Posted December 23, 2020 Then there's something wrong with your installation. What OS? Which PHP Version? Which database server? Version?
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 Ubuntu 20.04, PHP 7.4.13, MariaDB
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 MariaDB version: 10.5.8+maria~focal
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 Can i make accounts from the command line in the ssh?
0 d00p Posted December 23, 2020 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
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 there is no error messages, what do i do to make the account in the mysql? I have phpmyadmin
0 d00p Posted December 23, 2020 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.
0 dadimhome Posted December 23, 2020 Author 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.
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 I used this to get the sha for pass https://passwordsgenerator.net/sha256-hash-generator/
0 d00p Posted December 23, 2020 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
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 can i remove the 15 min suspension?
0 d00p Posted December 23, 2020 Posted December 23, 2020 panel_admins of course for the entry you want to reset
0 dadimhome Posted December 23, 2020 Author Posted December 23, 2020 Thanks for your help, i was able to login now.
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.
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