So when installing from sources there is a point in which you clone the repository and execute the installation script. Say something similar to this:
sudo su - zato git clone https://github.com/zatosource/zato cd zato ./code/install.sh -p python3
I am on Ubuntu 18.04 and, as far as I’ve detected, the installation script requires sudo for the following purposes:
code/install.sh:30updates packages and install the Python base package.
code/_install-deb.sh:12installs the package
code/_install-deb.sh:18to 22 adds the backports repository if we’re running Debian 7
code/_install-deb.sh:24installs the dependencies.
As far as I’ve been able to see, similar commands are executed for other distributions.
My question would be whether you think that it would be worth checking for these packages to be already present so that the zato user would not need sudo permissions. That is, in case later on sudo is not required to start some services, perform certain maintenance routines, etc.
Thanks in advance.