]> git.pld-linux.org Git - packages/mythplugins.git/commitdiff
- simple script to generate hdigest password file
authorw.kier <w.kier@pld-linux.org>
Fri, 14 May 2010 11:57:04 +0000 (11:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    htdigest.sh -> 1.1

htdigest.sh [new file with mode: 0644]

diff --git a/htdigest.sh b/htdigest.sh
new file mode 100644 (file)
index 0000000..9b7a853
--- /dev/null
@@ -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"
This page took 0.059216 seconds and 4 git commands to generate.