Jump to content
Froxlor Forum
  • 0

Where is admin account located?


Go to solution Solved by d00p,

Question

20 answers to this question

Recommended Posts

  • 0
  • Solution
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 post
Share on other sites
  • 0

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 post
Share on other sites
  • 0

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 post
Share on other sites
  • 0

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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Similar Content

    • By Hadet
      Hi so i'm pretty new to this, I have a LAMP stack running on Ubuntu 16.04 Amazon's Lightsail EC2 style platform similar to DigitalOcean's droplet setups
      So far i got everything setup, php-7 is installed, mysql is installed and it's all working i installed Froxlor with no errors, i've even setup the Mail Server and FTP though i haven't been able to test those yet
      I'm currently taking classes for sysadminstration and web development but my experience is still at a beginer level. If anyone can tell me what i set up wrong or need to change, i'd really appreciate it. It took me a long time to get this running because all the documentation was very out of date, i ended up doloading the latest version and extracting it in my var/www/html/ directory, i can access the pannel and even login to the admin account i set up during the setup phase.
      When trying to add a new user to test thing i get the following message once i've filling everything out
      A database error occurred SQLSTATE[01000]: Warning: 1265 Data truncated for column 'add_date' at row 1
       
      EDIT: Also redtext sorry not familiar with this forum setup. SO it DID add the User, but i'm still getting Mysql errors on things like email.I followed the instructions to the letter through ssh everything should be good. I've gone through them twice step by step to make sure.
      Rebuilt the whole LAMP stack from the ground up, configured everything exactly how it said to in the config guides
      Here's the Rerror it gives.
      Dear froxlor-team,

      the following error has been reported by a user:

      -------------------------------------------------------------
      01000 SQLSTATE[01000]: Warning: 1265 Data truncated for column 'add_date' at row 1

      File: /lib/classes/database/class.Database.php:72

      Trace:
      #0 /lib/classes/database/class.Database.php(72): PDOStatement->execute(Array)
      #1 /admin_customers.php(935): Database::pexecute(Object(PDOStatement), Array)
      #2 {main}

      -------------------------------------------------------------

      Froxlor-version: 0.9.38.7
      DB-version: 201612110

      End of report
       
    • By v3ng
      Hallo,
       
      Ich habe Apache auf meinem Server von der Version 2.2 auf die Version 2.4 upgegradet. Danach wollte ich Apache restarten, doch dabei habe ich folgende Ausgabe bekommen.
      F?r eure Hilfe w?re ich wirklich dankbar.
       
      Vielen Dank und einen sch?nen Abend!
       
      Ps: Wie weit ist Froxlor eigentlich mit Debian 8 kompatibel?
      root@vps:/var/www# service apache2 restart [FAIL] Restarting web server: apache2 failed! [warn] The apache2 configtest failed. ... (warning). Output of config test was: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/10_froxlor_ipandport_xx.xxx.xx.xx.conf:5 AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/20_froxlor_normal_vhost_test.srv.meinedomain.de.conf: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. root@vps:/var/www#
×
×
  • Create New...