Reference
operator
On this page
Available since
- HAProxy 1.8
- HAProxy Enterprise 1.8r1
Decrease the CLI level to operator
.
Description Jump to heading
When in an interactive session using the Runtime API’s prompt
command, the operator
command decreases the CLI level to the less privileged operator
role.
As of version 2.4r1
it also drops experimental mode.
Examples Jump to heading
To decrease the CLI level to operator
:
-
Connect to the Runtime API socket:
nixsudo socat stdio tcp4-connect:127.0.0.1:9999nixsudo socat stdio tcp4-connect:127.0.0.1:9999 -
Start an interactive session:
nixpromptnixprompt -
Set the CLI level to operator:
nixoperatornixoperator -
Display the CLI level:
nixshow cli levelnixshow cli leveloutputtextoperatoroutputtextoperator
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?