Isolating agent credentials with Linux users: log in manually, keep cookies away from the agent

pramodk73 · x · 2026-11-12

Answering how to give a scheduled AI agent username/password access without exposing secrets, a developer shares his working approach: log in to accounts manually and ensure the agent has no access to browser cookies, achieved by running the agent under separate Linux users. He admits the setup is a bit complicated but it works—an engineering answer beyond dropping credentials into a .env file.

Original post →

More from coding & agent

coding & agent channel →