From: Todd C. Miller Date: Thu, 29 Aug 1996 21:58:17 +0000 (+0000) Subject: pass use and host to tgetpass X-Git-Tag: SUDO_1_5_1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c0aaf274c4b7e6455d286e60273ccc9c277e2d3;p=sudo pass use and host to tgetpass --- diff --git a/check.c b/check.c index 024ff5794..09ccfc7d0 100644 --- a/check.c +++ b/check.c @@ -480,7 +480,7 @@ static void check_passwd() pass = (char *) getpass(prompt); # endif /* HAVE_KERB4 */ #else - pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60); + pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60, user_name, host); #endif /* USE_GETPASS */ /* Exit loop on nil password */