2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

now say command args if telling user to buzz off

This commit is contained in:
Todd C. Miller
1995-08-19 23:30:56 +00:00
parent b79d33a5b1
commit 723998be9c

View File

@@ -545,8 +545,8 @@ void inform_user(code)
case VALIDATE_NOT_OK:
(void) fprintf(stderr,
"Sorry, user %s is not allowed to execute %s on %s.\n\n",
user, cmnd, host);
"Sorry, user %s is not allowed to execute \"%s %s\" on %s.\n\n",
user, cmnd, cmnd_args, host);
break;
case VALIDATE_ERROR: