HAProxy Enterprise Documentation 1.8r2

user

Decrease the CLI level to user.

Note

On some Linux distributions such as Debian and Ubuntu, socat does not support readline.

Description

When in an interactive session using the Runtime API's prompt command, the user command decreases the CLI level to the less privileged user role. It also drops expert mode.

Examples

In the example below, we decrease the CLI level to user:

$ sudo socat readline /var/run/hapee-1.8/hapee-lb.sock
  prompt
  > user

Next up

Lua scripts