packages: mythplugins/htdigest.sh (NEW) - simple script to generate hdigest...
w.kier
w.kier at pld-linux.org
Fri May 14 13:57:09 CEST 2010
Author: w.kier Date: Fri May 14 11:57:09 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- simple script to generate hdigest password file
---- Files affected:
packages/mythplugins:
htdigest.sh (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mythplugins/htdigest.sh
diff -u /dev/null packages/mythplugins/htdigest.sh:1.1
--- /dev/null Fri May 14 13:57:09 2010
+++ packages/mythplugins/htdigest.sh Fri May 14 13:57:04 2010
@@ -0,0 +1,6 @@
+#!/bin/sh
+user=$1
+realm=$2
+pass=$3
+hash=`echo -n "$user:$realm:$pass" | md5sum | cut -b -32`
+echo "$user:$realm:$hash"
================================================================
More information about the pld-cvs-commit
mailing list