mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 13:29:27 +01:00
rename default operator to admin
This commit is contained in:
parent
9e918efedc
commit
5df1b8b2bc
@ -532,8 +532,8 @@ oper-classes:
|
|||||||
|
|
||||||
# ircd operators
|
# ircd operators
|
||||||
opers:
|
opers:
|
||||||
# operator named 'dan'
|
# operator named 'admin'; log in with /OPER admin [password]
|
||||||
dan:
|
admin:
|
||||||
# which capabilities this oper has access to
|
# which capabilities this oper has access to
|
||||||
class: "server-admin"
|
class: "server-admin"
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ docker logs oragono
|
|||||||
You should see a line similar to:
|
You should see a line similar to:
|
||||||
|
|
||||||
```
|
```
|
||||||
Oper username:password is dan:cnn2tm9TP3GeI4vLaEMS
|
Oper username:password is admin:cnn2tm9TP3GeI4vLaEMS
|
||||||
```
|
```
|
||||||
|
|
||||||
## Persisting data
|
## Persisting data
|
||||||
|
@ -9,7 +9,7 @@ if [ ! -f "/ircd/ircd.yaml" ]; then
|
|||||||
|
|
||||||
# change default oper passwd
|
# change default oper passwd
|
||||||
OPERPASS=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c20)
|
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)
|
ENCRYPTEDPASS=$(echo "$OPERPASS" | /ircd-bin/oragono genpasswd)
|
||||||
ORIGINALPASS='\$2a\$04\$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu'
|
ORIGINALPASS='\$2a\$04\$LiytCxaY0lI.guDj2pBN4eLRD5cdM2OLDwqmGAgB6M2OPirbF5Jcu'
|
||||||
|
|
||||||
|
@ -553,8 +553,8 @@ oper-classes:
|
|||||||
|
|
||||||
# ircd operators
|
# ircd operators
|
||||||
opers:
|
opers:
|
||||||
# operator named 'dan'
|
# operator named 'admin'; log in with /OPER admin [password]
|
||||||
dan:
|
admin:
|
||||||
# which capabilities this oper has access to
|
# which capabilities this oper has access to
|
||||||
class: "server-admin"
|
class: "server-admin"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user