AnsweredAssumed Answered

Reset the admin password

Question asked by maxime.corbeau on Feb 7, 2011
Latest reply on Jan 16, 2014 by joe.l3
Hi all,

We're using Alfresco 3.3 and have forgotten about the admin password. We've followed instructions at:
http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_reset_the_admin_password

[1] The method with running the SQL command doesn't work since no row is returned
  -> I believe the command isn't up to date anymore, could it be updated?

[2] The method about modifying tomcat/webapps/alfresco/WEB-INF/classes/alfresco/authority-services-context.xml also didn't work. We tried adding the below xml code as per http://wiki.alfresco.com/wiki/Security_Services

<beans>
    <bean id="authorityService" class="org.alfresco.repo.security.authority.AuthorityServiceImpl">
        <property name="adminUsers">
            <set>
                <value>admin</value>
                <value>myuser</value>
            </set>
…..

Whenever we modify the  file Tomcat becomes unavailable with the below error:
404 - The requested resource () is not available
-> Do you have clear instructions as to how modifying the authority-services-context.xml file?

I appreciate I may not be very familiar with Alfresco but I found the procedure/documentation as to how resetting the admin password quite poor.

Outcomes