github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/apps/simpleexample/SimpleDomain/runalltpm1full (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  $BINPATH/domain_server -pass xxx -domain_config $DOMAINTPM1/tao.config -trusted_entities $DOMAINTPM1/TrustedEntities &
    16  sleep 1
    17  $BINPATH/tao run -tao_domain $DOMAINTPM1 $BINPATH/SimpleServer \
    18  -domain_config $DOMAINTPM1/tao.config -path $DOMAINTPM1/SimpleServer \
    19  -use_simpledomainservice=false &
    20  sleep 1
    21  $BINPATH/tao run -tao_domain $DOMAINTPM1 $BINPATH/SimpleClient \
    22  -domain_config $DOMAINTPM1/tao.config -path $DOMAINTPM1/SimpleClient \
    23  -use_simpledomainservice=false &
    24