diff options
Diffstat (limited to 'trunk/get-password')
-rwxr-xr-x | trunk/get-password | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/trunk/get-password b/trunk/get-password deleted file mode 100755 index caa783a..0000000 --- a/trunk/get-password +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# $Id$ -# helper script for rpm scriptlets to get a random password - -if [ -n "$1" ]; then - length=$1 -else - length=8 -fi - -perl -e "@c = (a..z,A..Z,0..9); print map { @c[rand @c] } 0..$length" |