ba598933a87eaa6b897a6cb9c2c6f25a68947f9e
[hcoop/domtool2.git] / bootstrap / bootstrap
1 #!/bin/sh
2
3 # Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one
4 # at that), assuming you are going to be domtool root
5
6 if [ -z "`getent passwd domtool`" ]; then
7 adduser --disabled-password domtool
8 fi
9
10 ./domtool-create-shared-root
11 ./domtool-create-local-root
12 ./domtool-create-ca -force
13 ./domtool-init-truststore
14 ./domtool-init-acl `whoami`