mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 19:39:43 +01:00
rename default operator to admin
This commit is contained in:
parent
9e918efedc
commit
5df1b8b2bc
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user