I set admin user to not active, Now I can not login as admin

Discussion in 'General' started by Yazool, Jul 5, 2015.

  1. Yazool

    Yazool New Member

    Hi till
    I created a new client in ispconfig with a username "newuser". I was logged in as "admin" when I created "newuser". Then I went to the "CP Users" page and disabled "admin" by setting it to not active. I then logged off and logged back in as "newuser" I found out that "newuser" does not have enough permissions. I logged off and then tried to log in as "admin". I received the following error message:

    "User is blocked"

    My question is: what should I do to be able to log in as "admin" again?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit the admin user in the ispconfig database with phpmyadmin, you can find it in the sys_user table and set the active column to "1".
     
  3. Mateus Takz

    Mateus Takz New Member

    My version is 3.1,
    There is only : dbispconfig .
    There is no table: sys_user
    Help me !!
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Are you using phpmyadmin to look at the dbispconfig table? If so, it will only show you the first 50 tables in the left-hand navigation frame, so the sys_user table will be on the second 'page' (at the top of the list, click the > or >> link to get there).
     
    Mateus Takz likes this.
  5. Mateus Takz

    Mateus Takz New Member

    Thank you!
     

Share This Page