Warn the user that there is no echo when using sudo

This commit is contained in:
Christophe Grenier 2010-09-11 17:57:44 +02:00
parent 98ed875950
commit a7f7534d65

View file

@ -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)
{