From: Todd C. Miller Date: Thu, 20 Jul 2017 19:58:54 +0000 (-0600) Subject: Add missing argument to a few of the defaults strings in the X-Git-Tag: SUDO_1_8_21^2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5923a28113edaf80d37397ed4452706ded39bd2d;p=sudo Add missing argument to a few of the defaults strings in the "sudo -V" output. --- diff --git a/plugins/sudoers/def_data.c b/plugins/sudoers/def_data.c index c3e841a60..bfbcbdb88 100644 --- a/plugins/sudoers/def_data.c +++ b/plugins/sudoers/def_data.c @@ -363,11 +363,11 @@ struct sudo_defs_types sudo_defs_table[] = { NULL, }, { "privs", T_STR, - N_("Set of permitted privileges"), + N_("Set of permitted privileges: %s"), NULL, }, { "limitprivs", T_STR, - N_("Set of limit privileges"), + N_("Set of limit privileges: %s"), NULL, }, { "exec_background", T_FLAG, @@ -375,11 +375,11 @@ struct sudo_defs_types sudo_defs_table[] = { NULL, }, { "pam_service", T_STR, - N_("PAM service name to use"), + N_("PAM service name to use: %s"), NULL, }, { "pam_login_service", T_STR, - N_("PAM service name to use for login shells"), + N_("PAM service name to use for login shells: %s"), NULL, }, { "pam_setcred", T_FLAG, diff --git a/plugins/sudoers/def_data.in b/plugins/sudoers/def_data.in index 12cdce699..5bb227f91 100644 --- a/plugins/sudoers/def_data.in +++ b/plugins/sudoers/def_data.in @@ -264,19 +264,19 @@ utmp_runas "Set the user in utmp to the runas user, not the invoking user" privs T_STR - "Set of permitted privileges" + "Set of permitted privileges: %s" limitprivs T_STR - "Set of limit privileges" + "Set of limit privileges: %s" exec_background T_FLAG "Run commands on a pty in the background" pam_service T_STR - "PAM service name to use" + "PAM service name to use: %s" pam_login_service T_STR - "PAM service name to use for login shells" + "PAM service name to use for login shells: %s" pam_setcred T_FLAG "Attempt to establish PAM credentials for the target user"