Install
openclaw skills install bud-sudoStore and use sudo password for automated root commands. Essential companion for skills that need sudo access (like vpn-mesh).
openclaw skills install bud-sudoSecurely store your sudo password for automated root commands. No more re-entering passwords for every sudo call.
Essential for skills that need elevated permissions — like vpn-mesh which installs WireGuard automatically.
# Configure your sudo password (one-time only)
sudo-tool setup
You'll be prompted to enter your sudo password. It's encrypted with OpenSSL and stored in ~/.openclaw/sudo-tool/ — never in plaintext.
# Check if configured
sudo-tool status
# Run any command with sudo
sudo-tool apt update
sudo-tool apt install wireguard-tools
sudo-tool systemctl restart nginx
# Reset (remove stored password)
sudo-tool reset
~/.openclaw/sudo-tool/.password.encsudo -S (reads from stdin)~/.openclaw/sudo-tool/
├── .password.enc # Encrypted password
├── .salt # Random salt for encryption
└── sudo-tool.sh # The tool itself
Add to PATH with:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
ln -s ~/.openclaw/sudo-tool/sudo-tool.sh ~/bin/sudo-tool