In the event that you cannot run the agent installer as root, you can bypass the native package installers and install the agent as another user on the system.
Important Security Note
We highly recommend creating a new user for the panopta agent so that the permissions are scoped to only require what is needed for the agent, rather than a user which has some sort of elevated permissions. Please consult with Panopta Support for best practices on this
User Creation (to be done as root)
adduser -m -s /bin/bash panopta-agent;
# redhat/centos only;
yum install python-devel gcc;
# debian/ubuntu only;
apt-get install python-devel gcc;
On some systems, you may have an /etc/cron.allow file which whitelists which users can run crontab. If this exists on your system, add the new panopta-agent user to that file. If it does not exist, skip this step.
Login to the server as user panopta-agent and then run the following:
wget http://packages.panopta.com/tar/panopta-agent-tarball-latest.tar.gz && tar -xvzf panopta-agent-tarball-latest.tar.gz
Within that text editor session, add the below line and replace with your own customer key
customer_key = xxxx-xxxx-xxxx-xxxx;
If needed, you can specify any of the other agent install options which are supported in our Agent Manifest File. Then run the following;
cd ~/panopta-agent-2017.22.3/ #replace version number;
python install.py --no-root
This should install the agent and register the server within your control panel account within the incoming directory.