summaryrefslogtreecommitdiffstats
path: root/src/sudo.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-09-11 17:57:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-09-11 17:57:44 +0200
commita7f7534d6587ba4a867f43d536be35deaf55b368 (patch)
treee3ac1e367fbb8756306c067003777b38d1988125 /src/sudo.c
parent98ed87595085e89aa2db8b112b12a370e1edc85b (diff)
Warn the user that there is no echo when using sudo
Diffstat (limited to 'src/sudo.c')
-rw-r--r--src/sudo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sudo.c b/src/sudo.c
index 88b371e..0c55213 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)
{