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

    reset the WebUI password

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    239
    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.
    • davido38D
      davido38
      last edited by

      fog version : 1.5.9
      Debian 10

      Hi,
      I can’t login to the webui anymore. I try to reset the WebUI password (UPDATE users SET uPass = MD5(‘password’) WHERE uName = ‘fog’;) but i have this message :
      Rows matched: 0 Changed: 0 Warnings: 0

      If i try this command select * from users; i have
      Empty set (0.000 sec)
      So do i have to create a user ? and how ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @davido38 Well it looks like the user entry was dropped from the database. You should be able to recreate it:

        INSERT INTO users VALUES (0, 'fog', MD5('password'), '2023-01-26 01:33:07', 'fog', 0, '', 0, '');
        

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • davido38D
          davido38
          last edited by

          Problem solved !

          Thanks a lot !!

          1 Reply Last reply Reply Quote 0
          • [[undefined-on, S Sebastian Roth, ]]
          • 1 / 1
          • First post
            Last post

          185

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project