From a7f7534d6587ba4a867f43d536be35deaf55b368 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 11 Sep 2010 17:57:44 +0200 Subject: Warn the user that there is no echo when using sudo --- src/sudo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sudo.c') diff --git a/src/sudo.c b/src/sudo.c index 88b371e1..0c552139 100644 --- a/src/sudo.c +++ b/src/sudo.c @@ -48,7 +48,8 @@ void run_sudo(int argc, char **argv) for (i=0; i < argc; i++) argv2[i+1] = argv[i]; argv2[i+1]=NULL; - printf("sudo may ask your user password\n"); + printf("sudo may ask your user password, it doesn't ask for the root password.\n"); + printf("Usually there is no echo or '*' displayed when you type your password.\n"); fflush(stdout); if(execv(argv2[0], argv2)<0) { -- cgit