1 |
stephdl |
1.1 |
diff -Nur smeserver-password-1.2.0_old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm smeserver-password-1.2.0_new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm |
2 |
|
|
--- smeserver-password-1.2.0_old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm 2015-02-09 16:42:08.823218548 +0100 |
3 |
|
|
+++ smeserver-password-1.2.0_new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm 2015-02-09 16:43:24.064154300 +0100 |
4 |
|
|
@@ -123,7 +123,7 @@ |
5 |
|
|
$star = $self->localise('ACCOUNT_LOCKED'); |
6 |
|
|
} |
7 |
|
|
my $key = $user->key; |
8 |
|
|
- my $cmd = "chage -l $key | grep -i 'password expires' | cut -d ':' -f 2"; |
9 |
|
|
+ my $cmd = "chage -l $key | grep 'Password expires' | cut -d ':' -f 2"; |
10 |
|
|
my $expiration = `$cmd 2>/dev/null`; |
11 |
|
|
$cmd = "chage -l $key | grep -i 'last' | cut -d ':' -f 2"; |
12 |
|
|
my $lastchange = `$cmd 2>/dev/null`; |