...
Code Block |
---|
cd /opt/grouper/grouperWebapp/WEB-INF/bin vi addUser.gsh grouperPasswordSave = ./gsh.sh (as tomcat... e.g. sudo -u tomcat ./gsh.sh) v2.5.29+ new GrouperPasswordSave(); grouperPasswordSave.assignUsername("***PRINCIPAL***").assignPassword("***PASSWORD***").assignEntityType("username"); grouperPasswordSave.assignApplication(GrouperPassword.Application.UI); new Authentication().assignUserPassword(grouperPasswordSave); ./gsh.sh addUser.gshassignApplication(GrouperPassword.Application.UI).assignUsername("GrouperSystem").assignPassword("password").save(); |
Configure
This is on by default if you start a Grouper container v2.5 with "ws". But here are some details. Note the file locations in the container are listed in the v2.5 container documentation
...