diff options
author | Andrew Ross <aross@gentoo.org> | 2007-04-02 23:19:22 +0000 |
---|---|---|
committer | Andrew Ross <aross@gentoo.org> | 2007-04-02 23:19:22 +0000 |
commit | 3354805312fbf0ed824415b51bcc961564c8b834 (patch) | |
tree | c668f16de509bddd228a5cdeeb71139982fadca9 /app-backup/bacula/files/randpass-1.37.40 | |
parent | Update net-zope/ldapuserfolder to latest upstream version (2.8-beta). (diff) | |
download | aross-3354805312fbf0ed824415b51bcc961564c8b834.tar.gz aross-3354805312fbf0ed824415b51bcc961564c8b834.tar.bz2 aross-3354805312fbf0ed824415b51bcc961564c8b834.zip |
app-backup/bacula-2.0.3 is in the tree.
svn path=/; revision=49
Diffstat (limited to 'app-backup/bacula/files/randpass-1.37.40')
-rw-r--r-- | app-backup/bacula/files/randpass-1.37.40 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app-backup/bacula/files/randpass-1.37.40 b/app-backup/bacula/files/randpass-1.37.40 deleted file mode 100644 index af30bfb..0000000 --- a/app-backup/bacula/files/randpass-1.37.40 +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/sh -# -# Generate a random password, written to standard output -# By John Walker -# -if test "x$1" = "x" ; then - PWL=48 # Password length in characters -else - PWL=$1 -fi -tmp=`mktemp randpass.XXXXXXXXXX` -if test x$tmp = x; then - tmp=/tmp/p.tmp.$$ - if test -f $tmp; then - echo "Temp file security problem on: $tmp" - exit 1 - fi -fi -cp autoconf/randpass.bc $tmp -ps | sum | tr -d ':[:alpha:] ' | sed 's/^/k=/' >>$tmp -date | tr -d ':[:alpha:] ' | sed 's/^/k=k*/' >>$tmp -ls -l /tmp | sum | tr -d ':[:alpha:] ' | sed 's/^/k=k*/' >>$tmp -echo "j=s(k); for (i = 0; i < $PWL; i++) r()" >>$tmp -echo "quit" >>$tmp -bc $tmp | awk -f autoconf/randpass.awk -rm $tmp |