summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2012-05-24 13:24:31 +0200
committerMichael Peter Christen <mc@yacy.net>2012-05-24 13:24:31 +0200
commit8b974905ee68d9502d12a14a5f425f0d43431db0 (patch)
treedb03a3c4f71cc01fdef564da1d9685c78ff9b2e8 /bin
parent16b21f7a5b43f0462ef2b59e04008ddb52e87b62 (diff)
changed log-in text for all servlets with authentication:
- added hint how to set the password using a shell script - added a shell script to change the password
Diffstat (limited to 'bin')
-rwxr-xr-xbin/passwd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/passwd.sh b/bin/passwd.sh
new file mode 100755
index 000000000..f2b61bc60
--- /dev/null
+++ b/bin/passwd.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+cd "`dirname $0`"
+./apicall.sh "/ConfigAccounts_p.html?setAdmin=&adminuser=admin&adminpw1=$1&adminpw2=$1&access=" > /dev/null
+echo "Password for User Name 'admin' set to '$1'" \ No newline at end of file