Project

General

Profile

1
#!/bin/bash
2
#A mamanger script to help the Metacat administrator to manage the users and groups
3
#in the AuthFile mechanism.
4

    
5
echo "This script should be run at the directory of /tomcat-webapps/your-context/WEB-INF/WEB-INF/scripts/bash/."
6

    
7
#variables
8
#BASE=../../../build/war
9
#BASE_LIB=$BASE/lib
10
BASE=../../../
11
BASE_LIB=$BASE/WEB-INF/lib
12
BASE_WEB_INF=$BASE/WEB-INF
13

    
14
#run the class
15
java -classpath "$BASE_LIB/*:" edu.ucsb.nceas.metacat.authentication.AuthFile $BASE_WEB_INF "$@"
(1-1/13)