Commit Diff
Diff:
c5cf1b8c0dd0fca68996e7ff80d26fac92b3d1f9
79191f8304efad815efe547e6f9412d5d2700ae8
Commit:
79191f8304efad815efe547e6f9412d5d2700ae8
Tree:
261432acf851ceaa86fa4183a9ed46174a228bd6
Author:
jrmu <jrmu@lecturify.com>
Committer:
jrmu <jrmu@lecturify.com>
Date:
Mon Sep 21 12:02:00 2020 UTC
Message:
Fixed doas.conf permissions
blob - 724b2fe9038b0dd892489034e966f11b1c744401
blob + 304367dd33ae13af5de343acaec2f92679e8f5c3
--- makefile
+++ makefile
@@ -20,7 +20,7 @@ botnow: figlet php sqlite
chown -R _nsd:daemon ${ZONES}
chmod ug+rwx ${ZONES}
chmod ug+rw ${ZONES}/*
- echo "permit nopass $sysname as _nsd cmd nsd-control" >> /etc/doas.conf
+ echo "permit nopass ${USERNAME} as _nsd cmd nsd-control" >> /etc/doas.conf
cp register.php ${HTDOCS}/
cp LICENSE README botnow.pl makefile networks register.php words ${HOMEDIR}/
chown -R ${USERNAME}:${USERNAME} ${HOMEDIR}