Skip to content

Commit

Permalink
adduser Gtinydns
Browse files Browse the repository at this point in the history
  • Loading branch information
comotion committed Jun 13, 2011
1 parent 9ccd1f9 commit 5e46d94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/tinydns
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ CACHEUSER=Gdnscache
CACHEUID=5301
LOGUSER=Gdnslog
LOGUID=5302
DNSUSER=Gtinydns
DNSUID=5303

HOME=/service/dnscache

groupadd -g $CACHEUID $CACHEUSER
useradd -g $CACHEUID -u $CACHEUID $CACHEUSER -d $HOME -s /usr/sbin/nologin
groupadd -g $LOGUID $LOGUSER
useradd -g $LOGUID -u $LOGUID $LOGUSER -d $HOME -s /usr/sbin/nologin
HOME=/service/tinydns
groupadd -g $DNSUSER $DNSUSER
useradd -g $DNSUID -u $DNSUID $DNSUSER -d $HOME -s /usr/sbin/nologin


mkdir -p inst
cd inst
Expand All @@ -32,3 +38,4 @@ make
make setup check

#dnscache-conf Gdnscache Gdnslog /etc/dnscache 10.53.0.1
#tinydns-conf Gtinydns Gdnslog /etc/tinydns 1.8.7.200

0 comments on commit 5e46d94

Please sign in to comment.