@@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: ISC * * Copyright (c) 1994-1996, 1998-2020 Todd C. Miller * Copyright (c) 1994-1996, 1998-2022 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above


Expand Down



Expand Up @@ -311,11 +311,10 @@ log_denial(int status, bool inform_user)

if (ISSET(status, FLAG_NO_USER)) { sudo_printf(SUDO_CONV_ERROR_MSG, _(%s is not in the sudoers file. This incident will be reported.n), user_name); file.n), user_name); } else if (ISSET(status, FLAG_NO_HOST)) { sudo_printf(SUDO_CONV_ERROR_MSG, _(%s is not allowed to run sudo on %s. This incident will be reported.n), user_name, user_srunhost); on %s.n), user_name, user_srunhost); } else if (ISSET(status, FLAG_NO_CHECK)) { sudo_printf(SUDO_CONV_ERROR_MSG, _(Sorry, user %s may not run sudo on %s.n), user_name, user_srunhost);


Expand Down

Read More