Skip to main content

ENV_USER

Constant ENV_USER 

Source
pub const ENV_USER: &str = "MSB_USER";
Expand description

Environment variable carrying the default guest user for agentd execs.

Format: USER[:GROUP] or UID[:GID]

  • USER
  • UID
  • USER:GROUP
  • UID:GID

Example:

  • MSB_USER=alice — default to user alice
  • MSB_USER=1000 — default to UID 1000
  • MSB_USER=alice:developers — default to user alice and group developers
  • MSB_USER=1000:100 — default to UID 1000 and GID 100