2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Reword the description of cmddenial_message.

This commit is contained in:
Todd C. Miller
2023-11-28 14:49:13 -07:00
parent 6b6e0aed0a
commit b4ae559c81
2 changed files with 23 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.TH "SUDOERS" "@mansectform@" "November 26, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .TH "SUDOERS" "@mansectform@" "November 28, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@@ -4508,8 +4508,17 @@ This option is only available when sudo is built with AppArmor
support. support.
.TP 18n .TP 18n
cmddenial_message cmddenial_message
Message that is displayed after a user's command execution is denied. .br
It does not override the default message, instead, it adds additional information for the user when set. It set,
\fBsudo\fR
will display this message when a user is denied access to run the
specified command, but is listed in the
\fIsudoers\fR
file for the host.
This can be used to provide additional, site-specific information
to the user when a command is denied by the security policy.
It does not override the standard warning the user receives when
a command is denied.
.TP 18n .TP 18n
authfail_message authfail_message
Message that is displayed after a user fails to authenticate. Message that is displayed after a user fails to authenticate.

View File

@@ -25,7 +25,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.Dd November 26, 2023 .Dd November 28, 2023
.Dt SUDOERS @mansectform@ .Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -4272,8 +4272,16 @@ This option is only available when sudo is built with AppArmor
support. support.
.\} .\}
.It cmddenial_message .It cmddenial_message
Message that is displayed after a user's command execution is denied. It set,
It does not override the default message, instead, it adds additional information for the user when set. .Nm sudo
will display this message when a user is denied access to run the
specified command, but is listed in the
.Em sudoers
file for the host.
This can be used to provide additional, site-specific information
to the user when a command is denied by the security policy.
It does not override the standard warning the user receives when
a command is denied.
.It authfail_message .It authfail_message
Message that is displayed after a user fails to authenticate. Message that is displayed after a user fails to authenticate.
The message may include the The message may include the