diff -p -up webmin-1.390/miniserv.pl.org webmin-1.390/miniserv.pl --- webmin-1.390/miniserv.pl.org 2008-03-19 13:23:46.000000000 -0300 +++ webmin-1.390/miniserv.pl 2008-03-19 13:29:10.000000000 -0300 @@ -2943,6 +2943,7 @@ elsif ($canmode == 1) { } elsif ($canmode == 2 || $canmode == 3) { # Attempt PAM or passwd file authentication + utf8::encode($pass); local $val = &validate_unix_user($canuser, $pass); print DEBUG "validate_user: unix val=$val\n"; if ($val && $sudo) {