Menu

I deleted SuperAdmin group by accident

Help
aloeee
2015-10-16
2015-10-16
  • aloeee

    aloeee - 2015-10-16

    Hi!

    I deleted Super Administrator Role by accident and now I'm unable to log into the EJBCA Admin Web. Is there any possibility to recreate superadmin role and how?

    Thanks,

    Alo

     
  • Mike Kushner

    Mike Kushner - 2015-10-16

    Hi,

    If you remove all roles and restart JBoss, EJBCA should automatically recreate the super admin role.

    Cheers,
    Mike Kushner
    Release Manager, Primekey Solutions


    Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information.
    https://www.primekey.se/technologies/products-overview/
    https://www.primekey.se/service-support/support/


     
    • aloeee

      aloeee - 2015-10-16

      sh> ejbca.sh roles removerole Admins

      No database integrity protection available in this version of EJBCA.
      12:23:47,563 INFO [org.cesecore.authorization.control.AccessControlSessionBean] (EJB default - 2) Authorization failed for ejbca of type CliAuthenticationToken for resource /system_functionality/edit_administrator_privileges
      ERROR: Not authorized to remove role Admins

       
  • aloeee

    aloeee - 2015-10-16

    Ironic indeed;) I just restored the DB to the state before deleting and I'm able to login into AdminWeb again.

    Thanks Mike!

     

Log in to post a comment.