By default, during its first bootstrap Alfresco Content Services will load a sample site, called "Sample: Web Site Design Project" (swsdp).
The easy way to disable loading the sample site and users is to add a property in alfresco-global.properties before starting the repository for the first time:
That is the recommended solution. An alternate approach is to disable the sample site by overriding the patch service before the first run of the repository. Load a file with the following contents at [ALF_HOME]/tomcat/shared/classes/alfresco/extension/site-bootstrap-context.xml
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!-- Disable loading the Sample Site --> <!-- Put this file at [ALF_HOME]/tomcat/shared/classes/alfresco/extension/site-bootstrap-context.xml --> <bean id="patch.siteLoadPatch.swsdp" class="org.alfresco.repo.admin.patch.impl.SiteLoadPatch" parent="basePatch"> <property name="id"><value>patch.siteLoadPatch.swsdp</value></property> <property name="description"><value>patch.siteLoadPatch.description</value></property> <property name="disabled"><value>true</value></property> </bean> </beans>