2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Shorten --with-passprompt and --with-mailsubject arguments to a single word.

The script that generates the web version of this file doesn't
expect options to include whitespace.
This commit is contained in:
Todd C. Miller 2023-01-16 07:51:47 -07:00
parent f0665166bd
commit 1eae385af1

View File

@ -923,7 +923,7 @@ Defaults are listed in brackets after the description.
the command they are trying is not listed in their sudoers file entry. the command they are trying is not listed in their sudoers file entry.
Sudoers option: mail_no_perms Sudoers option: mail_no_perms
--with-mailsubject="SUBJECT OF MAIL" --with-mailsubject="SUBJECT"
Subject of the mail sent to the "mailto" user. The token "%h" Subject of the mail sent to the "mailto" user. The token "%h"
will expand to the hostname of the machine. will expand to the hostname of the machine.
The default value is "*** SECURITY information for %h ***". The default value is "*** SECURITY information for %h ***".
@ -934,7 +934,7 @@ Defaults are listed in brackets after the description.
This should go to a sysadmin at your site. The default value is "root". This should go to a sysadmin at your site. The default value is "root".
Sudoers option: mailto Sudoers option: mailto
--with-passprompt="PASSWORD PROMPT" --with-passprompt="PROMPT"
Default prompt to use when asking for a password; can be overridden Default prompt to use when asking for a password; can be overridden
via the -p option and the SUDO_PROMPT environment variable. Supports via the -p option and the SUDO_PROMPT environment variable. Supports
the "%H", "%h", "%U", and "%u" escapes as documented in the sudo the "%H", "%h", "%U", and "%u" escapes as documented in the sudo