X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2Fvulnerable-passwords;h=7f278a0a776e35dcda4350c270c75cef97d70468;hb=6c332f225b646c3c07f247f8d65d2c58fb6a306e;hp=e5b69d0698d405809ded2f8ea91803c55834b136;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/etc/upgrade/vulnerable-passwords b/rt/etc/upgrade/vulnerable-passwords index e5b69d069..7f278a0a7 100755 --- a/rt/etc/upgrade/vulnerable-passwords +++ b/rt/etc/upgrade/vulnerable-passwords @@ -1,9 +1,9 @@ -#!/Users/falcone/perl5/perlbrew/bin/perl +#!/usr/bin/perl # BEGIN BPS TAGGED BLOCK {{{ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -49,8 +49,8 @@ use strict; use warnings; -use lib "local/lib"; -use lib "lib"; +use lib "/opt/rt3/local/lib"; +use lib "/opt/rt3/lib"; use RT; RT::LoadConfig; @@ -89,6 +89,9 @@ push @{$users->{'restrictions'}{ "main.Password" }}, "AND", { value => '40', }; +# we want to update passwords on disabled users +$users->{'find_disabled_rows'} = 1; + my $count = $users->Count; if ($count == 0) { print "No users with unsalted or weak cryptography found.\n";