about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authoradmins <admins@tilde.institute>2020-05-06 02:13:47 -0400
committeradmins <admins@tilde.institute>2020-05-06 02:13:47 -0400
commit948358526b900d4232245aa97e64374208111dae (patch)
tree81ee7daf99e1fb285eb56d59d4c90ba61e70f724 /bin
parent6de4537382a2cc80d4823babe947d04f1e06dcb0 (diff)
downloadadmin-948358526b900d4232245aa97e64374208111dae.tar.gz
attribution for script authors
Diffstat (limited to 'bin')
-rwxr-xr-xbin/connusers.py2
-rwxr-xr-xbin/makeuser2
-rwxr-xr-xbin/motdrotate.py3
-rw-r--r--bin/newmail.sh1
-rwxr-xr-xbin/newuseralertv3.py3
-rwxr-xr-xbin/regusers.py2
-rwxr-xr-xbin/rmuser2
-rwxr-xr-xbin/toot.py4
-rwxr-xr-xbin/weekconns.py2
9 files changed, 10 insertions, 11 deletions
diff --git a/bin/connusers.py b/bin/connusers.py
index d2672f2..998669b 100755
--- a/bin/connusers.py
+++ b/bin/connusers.py
@@ -1,7 +1,7 @@
 #!/usr/local/bin/python3 -I
 
 # Lists currently connected users for https://tilde.institute/stats
-# ben@gbmor.dev
+# gbmor <ben@gbmor.dev>
 
 from sys import exit
 import subprocess
diff --git a/bin/makeuser b/bin/makeuser
index e7bc4b8..91e3b56 100755
--- a/bin/makeuser
+++ b/bin/makeuser
@@ -2,7 +2,7 @@
 # ---------------------------------------------------------------------------
 # makeuser - tilde.institute new user creation
 # Usage: makeuser [-h|--help] <username> <email> "<pubkey>"
-# ben@gbmor.dev
+# <gbmor> ben@gbmor.dev
 # ---------------------------------------------------------------------------
 
 PROGNAME=${0##*/}
diff --git a/bin/motdrotate.py b/bin/motdrotate.py
index 01d7a77..1f178cc 100755
--- a/bin/motdrotate.py
+++ b/bin/motdrotate.py
@@ -7,8 +7,7 @@ import random
 ## Uses a skeleton motd plus a random quote ##
 ## to produce a motd with a nifty quote.    ##
 ##------------------------------------------##
-## Created by ahriman - ben@gbmor.dev       ##
-## --> BSD 3-clause license applies         ##
+## <gbmor> ben@gbmor.dev                    ##
 ##############################################
 
 def pullfile(filename):
diff --git a/bin/newmail.sh b/bin/newmail.sh
index a9da32b..6ed65e6 100644
--- a/bin/newmail.sh
+++ b/bin/newmail.sh
@@ -1,6 +1,7 @@
 #!/usr/local/bin/bash
 
 # Notifies users of newly received mail
+# kneezle@tilde.institute
 
 NewMail(){
     NEWMAIL=$(mailx &)
diff --git a/bin/newuseralertv3.py b/bin/newuseralertv3.py
index b62a4bc..4987075 100755
--- a/bin/newuseralertv3.py
+++ b/bin/newuseralertv3.py
@@ -1,4 +1,7 @@
 #!/usr/local/bin/python3
+#
+# kneezle@tilde.institute
+
 import os
 import argparse
 import http.client
diff --git a/bin/regusers.py b/bin/regusers.py
index 3fbb9df..53997da 100755
--- a/bin/regusers.py
+++ b/bin/regusers.py
@@ -2,7 +2,7 @@
 
 # Lists all the currently registered users extant on the system
 # for the stats page at https://tilde.institute/stats
-# ben@gbmor.dev
+# gbmor <ben@gbmor.dev>
 
 import os
 import sys
diff --git a/bin/rmuser b/bin/rmuser
index 4413ebc..db3ea38 100755
--- a/bin/rmuser
+++ b/bin/rmuser
@@ -2,7 +2,7 @@
 
 # Hopefully, this never has to be used.
 # Cleans up and removes a user from the system.
-# ben@gbmor.dev
+# gbmor <ben@gbmor.dev>
 
 echo "Removing user $1 from the system"
 userdel $1
diff --git a/bin/toot.py b/bin/toot.py
index a8d0b08..ae94f30 100755
--- a/bin/toot.py
+++ b/bin/toot.py
@@ -1,9 +1,5 @@
 #!/usr/local/bin/python2
 
-# Called by bin/makeuser to send a 'toot' to the
-# tilde.institute mastodon account at
-# https://tilde.zone/@tildeinstitute
-
 import json
 import os
 import sys
diff --git a/bin/weekconns.py b/bin/weekconns.py
index b5df86d..ed9d375 100755
--- a/bin/weekconns.py
+++ b/bin/weekconns.py
@@ -3,7 +3,7 @@
 # Lists the users who have connected in
 # the last week for the stats page at
 # https://tilde.institute/stats
-# ben@gbmor.dev
+# <gbmor> ben@gbmor.dev
 
 from sys import exit
 import subprocess