View Source

WAS THIS PAGE HELPFUL? {html}<a href="mailto:training@gwos.com?subject=How to change the portal super user">Leave Feedback</a>{html}\\
\\

h5. Overview

The default portal super user username is *root*. This account is used to configure the portal defaults and shared dashboards. There are times when a different username is appropriate for this account, such as when using LDAP authentication and the *root* username is restricted.

h5. Steps

# Change the *super.user* property in */usr/local/groundwork/config/gatein.properties* to the new username by adding the following lines to the end of the file:
{noformat}
# portal-configuration.xml setting for org.exoplatform.portal.config.UserACL
# super.user init parameter value. This setting and portal-configuration.xml
# synchronization is done on startup and when this file is modified. Once
# set, portal must be restarted for value to take effect.
super.user=<Insert new root user here>
{noformat}
# Run the following command to update the push the new setting into the portal:
{noformat}
source /usr/local/groundwork/scripts/setenv.sh
java -cp /usr/local/groundwork/jpp/modules/com/groundwork/security/main/groundwork-jboss-security-7.2.0.jar com.groundwork.core.security.GateinConfigurationUtils \
-superuser <Insert new root user here>
{noformat}
# Restart the portal:
{noformat}
/etc/init.d/groundwork restart gwservices
{noformat}