I am in need of a way to run zammad as another system user, in my current attempts I am met with the following error:
Error: You must be executing as the user 'zammad' or with root privileges to launch commands.
Either log in as 'zammad', root, use sudo, or add sudo privileges for running zammad with your current user.
Please note that Zammads repositories are distribution specific.
Sorry, but what exactly is unclear with this message?
Either run zammad run ... as the user zammad or a privileged user as root (e.g. sudo zammad run ...).
Unsupported it may be, but the behaviour is the same on Debian 12 and 13.
Most software that runs as a specific user allows you to define said user, seems zammad is hard coded. My use case was in a custom docker container. Guess it doesn’t work.
Oh that is your question. The package installation is hard wired to the user zammad yes. No need to run a custom docker container, the normal upstream compose should support different users if needed. Why ever you need it…