mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Update error message when the password cannot be read from the terminal.
This commit is contained in:
parent
f634241110
commit
6f3d826f8b
@ -1312,15 +1312,18 @@ This may happen if no terminal is available (or the
|
||||
option is specified) and the standard input has been redirected from
|
||||
\fI/dev/null\fR.
|
||||
.TP 6n
|
||||
\fRno tty present and no askpass program specified\fR
|
||||
\fRa terminal is required to read the password\fR
|
||||
\fBsudo\fR
|
||||
needs to read the password but there is no mechanism available to do so.
|
||||
needs to read the password but there is no mechanism available for it
|
||||
to do so.
|
||||
A terminal is not present to read the password from,
|
||||
\fBsudo\fR
|
||||
has not been configured to read from the standard input,
|
||||
and no askpass program has been specified either via the
|
||||
\fB\-A\fR
|
||||
option or the
|
||||
the
|
||||
\fB\-S\fR
|
||||
option was not used, and no askpass helper has been specified either via the
|
||||
sudo.conf(@mansectform@)
|
||||
file or the
|
||||
\fRSUDO_ASKPASS\fR
|
||||
environment variable.
|
||||
.TP 6n
|
||||
|
@ -1209,15 +1209,18 @@ This may happen if no terminal is available (or the
|
||||
.Fl S
|
||||
option is specified) and the standard input has been redirected from
|
||||
.Pa /dev/null .
|
||||
.It Li no tty present and no askpass program specified
|
||||
.It Li a terminal is required to read the password
|
||||
.Nm
|
||||
needs to read the password but there is no mechanism available to do so.
|
||||
needs to read the password but there is no mechanism available for it
|
||||
to do so.
|
||||
A terminal is not present to read the password from,
|
||||
.Nm
|
||||
has not been configured to read from the standard input,
|
||||
and no askpass program has been specified either via the
|
||||
.Fl A
|
||||
option or the
|
||||
the
|
||||
.Fl S
|
||||
option was not used, and no askpass helper has been specified either via the
|
||||
.Xr sudo.conf @mansectform@
|
||||
file or the
|
||||
.Ev SUDO_ASKPASS
|
||||
environment variable.
|
||||
.It Li no writable temporary directory found
|
||||
|
Loading…
x
Reference in New Issue
Block a user