HAProxy Enterprise Documentation 2.1r1

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-2.1/hapee-lb.sock
  prompt
  > user

See also


Next up

Lua scripts