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

Admin left Need Password

Scheduled Pinned Locked Moved
General
4
5
1.7k
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.
  • C
    Corey Preman
    last edited by Jul 29, 2014, 2:44 PM

    We are running FOG 0.32 on a Linux box, currently, it is not registering the host. Would like to reboot the server, at least log in to see what changes need to be made. How can I recover the Admin password? The person that left cant be contacted.

    1 Reply Last reply Reply Quote 0
    • C
      Corey Preman
      last edited by Jul 29, 2014, 2:58 PM

      also, the primary issue is the menu screen comes up, I can selet quick register it does a few things then shows Attempting to Log into Host but the screen just incrementally goes down a line…

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Jul 29, 2014, 5:54 PM

        If you are referring to an administrator account for the FOG web management portal you can set the password to be blank by running these terminal commands on the FOG Server

        [CODE]
        sudo mysql -u root -p
        use fog;
        UPDATE users SET uPass = NULL WHERE uId = 1;
        exit
        [/CODE]

        This will wipe the first user’s password, which is the default administrator account.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        1 Reply Last reply Reply Quote 0
        • M
          madskillz23
          last edited by Jul 29, 2014, 9:02 PM

          If you don’t have access to the linux box, “single user mode” is your friend. Google that and it will allow you to change passwords etc.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jul 29, 2014, 9:35 PM

            Single User/Rescue mode for the win.

            Maybe, boot into a live CD and chroot the root directory, and then change the password that way?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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
            • 1 / 1
            1 / 1
            • First post
              2/5
              Last post

            194

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project