Adding a user account to the ShiftLog Expert Online Remote Editor
STAR experts deemed absolutely essential may request to be placed on the expert editor list to edit the ShiftLog directly via the web interface. The user must provide justification for needing to edit the ShiftLog remotely and provide their Kerberos (RCF) user name.
Administrator Notes:
The Tomcat web server will authenticate the user with Kerberos and Tomcat manages the session. We have written the custom module OnlineTomcatRealm.jar to do the authentication which is configured in $CATALINA_HOME/conf/server.xml.
ssh tomcat@online.star.bnl.gov
Edit the file $CATALINA_HOME/conf/tomcat-users.xml
Note: that $CATALINA_HOME may not be defined. However it is wherever Tomcat is installed. In our case this /opt/tomcat
The file looks like this:
<tomcat-users> <role rolename="manager"/> <role rolename="logEditor"/> <user username="jfaustus" roles="logEditor"/> <user username="mephistophilis" roles="logEditor"/> </tomcat-users>
Add a new user with the username and the roles set to "logEditor”.
The restart server:
$CATALINA_HOME/bin/shutdown.sh $CATALINA_HOME/bin/startup.sh
Check that it works and you’re done.
- Printer-friendly version
- Login or register to post comments