Start a GSH session:
cd /opt/grouper/grouper.apiBinary-2.2.2 sudo -u tomcat6 ./bin/gsh.sh
You should see something similar to the following:Using GROUPER_HOME: /opt/grouper/grouper.apiBinary-2.2.2 Using GROUPER_CONF: /opt/grouper/grouper.apiBinary-2.2.2/conf Using JAVA: java using MEMORY: 64m-750m Grouper starting up: version: 2.2.2, build date: null, env: <no label configured> grouper.properties read from: /opt/grouper/grouper.apiBinary-2.2.2/conf/grouper.properties Grouper current directory is: /opt/grouper/grouper.apiBinary-2.2.2 log4j.properties read from: /opt/grouper/grouper.apiBinary-2.2.2/conf/log4j.properties Grouper logs are not using log4j: class org.apache.commons.logging.impl.SLF4JLocationAwareLog grouper.hibernate.properties: /opt/grouper/grouper.apiBinary-2.2.2/conf/grouper.hibernate.properties grouper.hibernate.properties: grouper@jdbc:mysql://localhost:3306/grouper?CharSet=utf8&useUnicode=true&characterEncoding=utf8 sources.xml read from: /opt/grouper/grouper.apiBinary-2.2.2/conf/sources.xml sources.xml groupersource id: g:gsa sources.xml groupersource id: grouperEntities sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider Type help() for instructions gsh 0%
As shown below start a root session and be sure you can find the GrouperSystem subject (the equivalent of a 'root' user in Grouper):
gsh 0% GrouperSession.startRootSession(); edu.internet2.middleware.grouper.GrouperSession: 79e90a429f524f61996e0e2849bf9ba6,'GrouperSystem','application' gsh 1% findSubject("GrouperSystem"); subject: id='GrouperSystem' type='application' source='g:isa' name='GrouperSysAdmin' gsh 2% quit
Overview
Content Tools