From: Todd C. Miller Date: Sat, 13 Oct 2018 12:19:03 +0000 (-0600) Subject: If the user's passwd entry cannot be resolved via the uid, use the X-Git-Tag: SUDO_1_8_26^2~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbf396e3367f63e86b1ee0f2e6bb7900be4bafaf;p=sudo If the user's passwd entry cannot be resolved via the uid, use the same error message as visudo. --- diff --git a/src/sudo.c b/src/sudo.c index 604cd18ca..47c282f7f 100644 --- a/src/sudo.c +++ b/src/sudo.c @@ -529,7 +529,7 @@ get_user_info(struct user_details *ud) aix_restoreauthdb(); #endif if (pw == NULL) - sudo_fatalx(U_("unknown uid %u: who are you?"), (unsigned int)ud->uid); + sudo_fatalx(U_("you do not exist in the %s database"), "passwd"); user_info[i] = sudo_new_key_val("user", pw->pw_name); if (user_info[i] == NULL)