lib/moin: update for 1.9.9, fix config order
[hcoop/domtool2.git] / bootstrap / bootstrap
CommitLineData
7b050e1a 1#!/bin/sh -e
0f9f712c
CE
2
3# Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one
4# at that), assuming you are going to be domtool root
5
6if [ -z "`getent passwd domtool`" ]; then
7 adduser --disabled-password domtool
8fi
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`
7b050e1a
CE
15domtool-addcert `uname -n` -unsafe
16
0a26706f
CE
17/usr/local/sbin/domtool-server &
18SERVER_PID=$!
19
20domtool-adduser `whoami` -unsafe
21
22kill $SERVER_PID