New tool, to give admin status to a user: dnsmanager-admin

master
Philippe Pittoli 2024-02-24 19:38:36 +01:00
parent d1f890f869
commit 5ba3bb2559
1 changed files with 10 additions and 0 deletions

10
bin/dnsmanager-admin Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ $# -lt 1 ]
then
echo "Usage: $0 file.json"
exit 1
fi
jq .admin=true < $1 > $1.new
mv $1.new $1