From 39f87f7f28f413b29ffabdec0c0aa3a2a145b851 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 9 Dec 2020 02:42:05 +0100 Subject: [PATCH] added a hint to the default settings how to set a default password --- defaults/yacy.init | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index 7f1ec409d..e78583475 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -448,13 +448,17 @@ serverClient=* #use User_p.html to create some Users. use_proxyAccounts=true -# adminAccountBase64MD5: a encoded user:password - pair for administration of -# settings through the web interface -# should be set to a secret. By default it is without a password +# adminAccountBase64MD5: a encoded user:password - pair +# For the administration of settings through the web interface. +# Should be set to a secret. # but you are encouraged to set it to another value on the page # http://localhost:8090/ConfigAccounts_p.html +# The hash is calculated with net.yacy.cora.order.Digest, i.e. +# > java -classpath classes net.yacy.cora.order.Digest -strfhex "admin::" #adminAccountBase64=MD5:{admin:realm:mysecretpassword} adminAccountBase64MD5= +# If you want a default password, use this setting, it sets the pw to "yacy" +#adminAccountBase64MD5=8cffbc0d66567a0987a4aba1ec46d63c adminAccountUserName=admin # special access handling for users from localhost: