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" ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
