MXS-1683: Allow MaxAdmin use without controlling tty
When MaxAdmin would be used without a controlling terminal, it would refuse to accept passwords from stdin as it could not set the terminal attributes. This means that executing MaxAdmin commands from other programs would fail if the process had no controlling terminal. Turning the error into a warning will allow users to know that terminal echo is still enabled before they type their passwords.
This commit is contained in:
@ -17,6 +17,13 @@ being monitored by the mariadbmon monitor, the current GTID position will be
|
||||
displayed in the newly added column. If no GTID is available, an empty value is
|
||||
returned.
|
||||
|
||||
### MaxAdmin input from scripts
|
||||
|
||||
The failure to set terminal attributes for MaxScale is no longer considered an
|
||||
error as scripts most often do not have an actual terminal that control the
|
||||
process. This means that passwords and other commands can be passed to MaxAdmin
|
||||
without a controlling terminal.
|
||||
|
||||
## Dropped Features
|
||||
|
||||
## New Features
|
||||
|
||||
Reference in New Issue
Block a user