mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
- Added support for sudo commands in local, Docker, Singularity, and SSH environments by introducing the `SUDO_PASSWORD` environment variable. - Updated terminal tool configurations in `.env.example` and `cli-config.yaml.example` to document the new sudo functionality. - Enhanced the command execution process to handle sudo commands gracefully, preventing hangs on interactive prompts and providing clear error messages when no password is configured. - Updated `README.md` to include instructions for using sudo support and SSH backend configuration. - Revised `TODO.md` to reflect the completion of the sudo feature and outline future enhancements.
18 lines
776 B
Text
18 lines
776 B
Text
# Hermes Agent Environment Configuration
|
|
# Copy this file to .env and fill in your API keys
|
|
|
|
# =============================================================================
|
|
# SUDO SUPPORT (works with ALL terminal backends)
|
|
# =============================================================================
|
|
# If set, enables sudo commands by piping password via `sudo -S`.
|
|
# Works with: local, docker, singularity, modal, and ssh backends.
|
|
#
|
|
# SECURITY WARNING: Password stored in plaintext. Only use on trusted machines.
|
|
#
|
|
# ALTERNATIVES:
|
|
# - For SSH backend: Configure passwordless sudo on the remote server
|
|
# - For containers: Run as root inside the container (no sudo needed)
|
|
# - For local: Configure /etc/sudoers for specific commands
|
|
#
|
|
# SUDO_PASSWORD=your_password_here
|
|
|