1 |
diff -up e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login.pwauth e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login |
2 |
--- e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login.pwauth 2013-03-06 12:51:07.465028386 -0700 |
3 |
+++ e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login 2013-03-06 12:53:07.291390174 -0700 |
4 |
@@ -53,8 +53,7 @@ my $BACK_REFERER = 0; |
5 |
sub validate |
6 |
{ |
7 |
my ($username, $password) = @_; |
8 |
- my $pwauth = -f "/usr/lib64/httpd/modules/pwauth" ? "/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth"; |
9 |
- unless (open(PWAUTH, "|$pwauth")) |
10 |
+ unless (open(PWAUTH, "|/usr/bin/pwauth")) |
11 |
{ |
12 |
warn "Could not open pipe to pwauth: $!"; |
13 |
return 0; |