From 5df1b8b2bc39adf8373a1c6a8318d3294205f1c6 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 31 Mar 2020 13:35:24 -0400 Subject: [PATCH] rename default operator to admin --- conventional.yaml | 4 ++-- distrib/docker/README.md | 2 +- distrib/docker/run.sh | 2 +- oragono.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conventional.yaml b/conventional.yaml index cd085787..80f7e7ed 100644 --- a/conventional.yaml +++ b/conventional.yaml @@ -532,8 +532,8 @@ oper-classes: # ircd operators opers: - # operator named 'dan' - dan: + # operator named 'admin'; log in with /OPER admin [password] + admin: # which capabilities this oper has access to class: "server-admin" diff --git a/distrib/docker/README.md b/distrib/docker/README.md index 5c87be23..95b17225 100644 --- a/distrib/docker/README.md +++ b/distrib/docker/README.md @@ -36,7 +36,7 @@ docker logs oragono You should see a line similar to: ``` -Oper username:password is dan:cnn2tm9TP3GeI4vLaEMS +Oper username:password is admin:cnn2tm9TP3GeI4vLaEMS ``` ## Persisting data diff --git a/distrib/docker/run.sh b/distrib/docker/run.sh index dee4e761..280abab9 100644 --- a/distrib/docker/run.sh +++ b/distrib/docker/run.sh @@ -9,7 +9,7 @@ if [ ! -f "/ircd/ircd.yaml" ]; then # change default oper passwd OPERPASS=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c20) - echo "Oper username:password is dan:$OPERPASS" + echo "Oper username:password is admin:$OPERPASS" ENCRYPTEDPASS=$(echo "$OPERPASS" | /ircd-bin/oragono genpasswd) ORIGINALPASS='\$2a\$04\$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu' diff --git a/oragono.yaml b/oragono.yaml index 0023f368..3fb890ee 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -553,8 +553,8 @@ oper-classes: # ircd operators opers: - # operator named 'dan' - dan: + # operator named 'admin'; log in with /OPER admin [password] + admin: # which capabilities this oper has access to class: "server-admin"