• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cannot reset webui password

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      taspence
      last edited by

      Hi All,
      I took over IT at a facility that uses Fog. I have the SQL login username and password, but was never provided with a webui username and password. I tried the default username and password, and it did not work. I have version 0.29. I have booted to a recovery prompt, and done the following:

      sudo mysql -u root -pMYPASSWORD fog

      then it comes to a mysql prompt and I typed the following:

      UPDATE users SET uPass = MD5(‘password’) WHERE uName = ‘fog’;

      I get the following:

      mysql> UPDATE users SET uPass = MD5(‘password’) WHERE uName = ‘fog’;
      Query OK, 0 rows affected (0.00 sec)
      Rows matched: 0 Changed: 0 Warnings: 0

      I’m not sure what I’m doing wrong.

      Thanks for any help in advance.

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        look at the column names and the values for user. Make sure you are specifying the correct column name and value for uName.

        If worse comes to worse, use something like phpmyadmin or NaviCat lite to edit the values using a GUI.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        197

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project