10. Configuring initial MMBase settings

Here are some initial configuration settings for MMBase.

Change the default password admin2k for the administrator admin by editing /usr/local/tomcat/webapps/mmbase-webapp/WEB-INF/config/security/context/config.xml:

  <user name="admin" context="admin">
      <identify type="name/password" rank="administrator">admin2k</identify>

Also, outcomment or remove the user foo/bar.

Since this file contains your administrators password, make sure other users can not read it:

  chmod 640 /usr/local/tomcat/webapps/mmbase-webapp/WEB-INF/config/security/context/config.xml

To use the MMBase builder mmbaseuser (using the mmbaseuser table in your MySQL database) for user authentication, set the authentication class in the configuration file /usr/local/tomcat/webapps/mmbase-webapp/WEB-INF/config/security/security.xml to:

  <authentication class="org.mmbase.security.implementation.cloud.Authenticate" url="" />

and set the authorization class to:

  <authorization class="org.mmbase.security.implementation.cloud.Verify" url="" />

In the same file change the shared secret used to communicate with remote builders (on other MMBase servers):



You can set the language for MMBase by editing /usr/local/tomcat/webapps/mmbase-webapp/WEB-INF/config/modules/mmbaseroot.xml:

  <property name="language">en</property>


You can set the SMTP gateway by editing /usr/local/tomcat/webapps/mmbase-webapp/WEB-INF/config/modules/sendmail.xml:

  <property name="mailhost">localhost</property>