diff options
author | Christophe Grenier <[email protected]> | 2010-09-11 17:57:44 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2010-09-11 17:57:44 +0200 |
commit | a7f7534d6587ba4a867f43d536be35deaf55b368 (patch) | |
tree | e3ac1e367fbb8756306c067003777b38d1988125 /src/sudo.c | |
parent | 98ed87595085e89aa2db8b112b12a370e1edc85b (diff) |
Warn the user that there is no echo when using sudo
Diffstat (limited to 'src/sudo.c')
-rw-r--r-- | src/sudo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |