github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/apps/simpleexample/SimpleDomain/runalltpm1simple (about) 1 # 2 source ./defines 3 4 # These should be run as root. 5 $BINPATH/tao host init -tao_domain $DOMAINTPM1 -stacked -parent_type TPM -hosting process 6 sleep 5 7 $BINPATH/tao host start -tao_domain $DOMAINTPM1 & 8 sleep 5 9 10 # 11 # Starting the programs should be done as the unprivileged user it runs for 12 # to provide isolation. 13 # We run as root for convenience to avoid script clutter. 14 # 15 sleep 1 16 $BINPATH/tao run -tao_domain $DOMAINTPM1 $BINPATH/SimpleDomainService \ 17 -config $DOMAINTPM1/tao.config -service_path $DOMAINTPM1/SimpleDomainService & 18 sleep 5 19 $BINPATH/tao run -tao_domain $DOMAINTPM1 $BINPATH/SimpleServer \ 20 -domain_config $DOMAINTPM1/tao.config -path $DOMAINTPM1/SimpleServer & 21 sleep 5 22 $BINPATH/tao run -tao_domain $DOMAINTPM1 $BINPATH/SimpleClient \ 23 -domain_config $DOMAINTPM1/tao.config -path $DOMAINTPM1/SimpleClient & 24