aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnunet/gnunet.pre-install
blob: 901356990abf673a1648a5436b2b7f56c40f6e2f (plain) (blame)
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

# Add system user/group gnunet for system services
addgroup -S gnunet 2>/dev/null
adduser -S -D -h /var/lib/gnunet -s /sbin/nologin gnunet 2>/dev/null
adduser gnunet gnunet

exit 0