su - adkadmin -s /bin/bash -c 'cd /opt/hosty && .venv/bin/adk run linux_admin "List running services"'

Category: Google ADK

su - adkadmin -s /bin/bash -c 'cd /opt/hosty && .venv/bin/adk run linux_admin "List running services"'

Test an ADK agent as the service user

Runs adk run as the deployed app's service account so the session database, SSH config, and env are the same ones the service uses. Testing as root instead produces wrong-owner session files ('attempt to write a readonly database') and misses ~/.ssh/config. Always chown the app directory after accidental root runs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.