Menu

#290 failed to login with default username / password

1.0
closed
None
1
2019-07-10
2015-03-04
Anonymous
No

Hi kindly assist me the failed to login with default username / password, issue, i already tried some of the steps mentioned but still failed - thank you

Discussion

  • NeK

    NeK - 2015-04-02

    Would be easier if yo would tell the exact ipam version / revision you are using.

    But generally:

    open the file db/SCHEMA.sql

    search for the insert statement where the local default Admin-User is created:

    INSERT INTO `users` (`id`, `username`, `password`, `groups`, `role`, `real_name`, `email`, `domainUser`,`widgets`, `passChange`)
    VALUES
        (1,'Admin',X'243624726F756E ...
    

    Copy out this line and modify it to a username that doesn't already exist in your database and run ONLY THAT SINGLE INSERT STATEMENT against your database.

    Then try to login with that new username + password: ipamadmin

    If the password-mechanism is changed you need to reset the passwords of all other local users.

     

    Last edit: NeK 2015-04-02
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02
    • status: open --> closed
     
  • Anonymous

    Anonymous - 2016-04-26

    I also managed to fix this by setting up a new default instance, change the password to something I know, then grab the NVChar string from one database and overwrite it in my populated database.

     
  • Anonymous

    Anonymous - 2016-05-28

    I have the same problem presented by fellow up .... I installed phpipam , which seems to be on the site that I need to manage a small network, subdivided into VLANs for the different groups . While every process for installation. performed the entire process of database construction, unfortunately my laptop crashed ... with this I have corrupted the database, and can open it, but not reseto password . because ? I ran all processes Durantes the last five days and nothing . Please appreciate the help .

    email: antonior_silva@gmx.com

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-06-28

    There is a script provided under functions/scripts/reset-admin-password.php. Use this.

     
    • Anonymous

      Anonymous - 2016-10-02
      Post awaiting moderation.
    • Anonymous

      Anonymous - 2016-12-25
      Post awaiting moderation.
  • Anonymous

    Anonymous - 2016-11-18
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2019-07-10
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.