mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +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
|
option is specified) and the standard input has been redirected from
|
||||||
\fI/dev/null\fR.
|
\fI/dev/null\fR.
|
||||||
.TP 6n
|
.TP 6n
|
||||||
\fRno tty present and no askpass program specified\fR
|
\fRa terminal is required to read the password\fR
|
||||||
\fBsudo\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,
|
A terminal is not present to read the password from,
|
||||||
\fBsudo\fR
|
\fBsudo\fR
|
||||||
has not been configured to read from the standard input,
|
has not been configured to read from the standard input,
|
||||||
and no askpass program has been specified either via the
|
the
|
||||||
\fB\-A\fR
|
\fB\-S\fR
|
||||||
option or the
|
option was not used, and no askpass helper has been specified either via the
|
||||||
|
sudo.conf(@mansectform@)
|
||||||
|
file or the
|
||||||
\fRSUDO_ASKPASS\fR
|
\fRSUDO_ASKPASS\fR
|
||||||
environment variable.
|
environment variable.
|
||||||
.TP 6n
|
.TP 6n
|
||||||
|
@ -1209,15 +1209,18 @@ This may happen if no terminal is available (or the
|
|||||||
.Fl S
|
.Fl S
|
||||||
option is specified) and the standard input has been redirected from
|
option is specified) and the standard input has been redirected from
|
||||||
.Pa /dev/null .
|
.Pa /dev/null .
|
||||||
.It Li no tty present and no askpass program specified
|
.It Li a terminal is required to read the password
|
||||||
.Nm
|
.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,
|
A terminal is not present to read the password from,
|
||||||
.Nm
|
.Nm
|
||||||
has not been configured to read from the standard input,
|
has not been configured to read from the standard input,
|
||||||
and no askpass program has been specified either via the
|
the
|
||||||
.Fl A
|
.Fl S
|
||||||
option or the
|
option was not used, and no askpass helper has been specified either via the
|
||||||
|
.Xr sudo.conf @mansectform@
|
||||||
|
file or the
|
||||||
.Ev SUDO_ASKPASS
|
.Ev SUDO_ASKPASS
|
||||||
environment variable.
|
environment variable.
|
||||||
.It Li no writable temporary directory found
|
.It Li no writable temporary directory found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user