aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnunet/gnunet.pre-install
blob: 7eea70e75233b27289c9a62ce55789220c8dae0a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Add special group gnunetdns for controlling access to "gnunet-helper-dns".
addgroup -S gnunetdns 2>/dev/null
addgroup -S gnunet 2>/dev/null

# Add system user/group gnunet for system services
adduser -S -h "/var/lib/gnunet" -s /bin/sh \
	-G gnunet -g gnunet gnunet 2>/dev/null

exit 0