Discussion in 'Installation/Configuration' started by Daniele Ricci, Jul 3, 2018.

  1. Daniele Ricci

    Daniele Ricci New Member

    ood morning,

    I have recently installed and configured a new DEBIAN 9 server with ISP CONFIG 3 for the latest release.
    Having created a new user with administrator privileges, I disabled the default "admin" user.
    I noticed, however, that the new user I created, despite being with administrative privileges, is not able to access certain functions, such as software updates and changes to the rights of other users.
    The underlying problem is that I can no longer re-enable the default "admin" user by having the following error message when trying to modify:
    Verify security permissions: admin_allow_new_admin failed

    How can I rehabilitate this admin account? Is there a shell procedure?
    On the server I also have root access if necessary.

  2. Thommy

    Thommy New Member

    login at phpmysql with user root and re-enable the adminuser in DB "dbispconfig"
  3. Daniele Ricci

    Daniele Ricci New Member

    can you tell me what is the relevant table of the db? I can not find the data / line to edit.
  4. Thommy

    Thommy New Member

    dbispconfig > sys_user
    Find the line where username = "admin"

    sys_userid = 1
    sys_groupid = 0
    typ = admin
    active = 1
    groups = 1,2
    default_group = 1

    This way you should be able to re-enable admin. If not: just re-install ispconfig ;)
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    As a side note, you can change the username of the admin user to any name you want, so there is no reason to disable the admin user and create a new sub admin with lower permissions.

Share This Page