Create User
Create the user by running the following command as root or with sudo privileges.
Create an Installation Directory and Assign Ownership
Assuming your probe is installed at /opt/probe
Only 'probeuser' and root can read/write here. Others have no access.
Grant Read Access to System Files (optional)
If the probe needs to read files like /etc/passwd, /var/log/, or /proc/, and encounters permission issues, please consider the following commands.
Repeat as needed for required files.
Add to Specific Read-Only Groups (optional)
Consider the following command if the probe requires access to group-restricted resources
(Example: ‘adm’ for logs).
This is safer than granting broad sudo access.
Avoid Sudo or Elevated Access
Avoid granting sudo access unless necessary. If needed for a specific script.
Add:
Replace with actual script path to limit access.
Verify Permissons
Test by switching to the user.
Check read access to required system files and logs.
Audit and Monitor
Optionally monitor 'probeuser' activity with auditd or similar tools to ensure compliance.
Action | Command Example |
---|---|
Create User | useradd -r -M -s /usr/sbin/nologin probeuser |
Set Installation Directory | mkdir -p /opt/probe && chown probeuser |
Optional Group Assignment | usermod -aG adm probeuser |
Set ACLs if Required | setfacl -m u:probeuser:r /path/to/file |
Limited Sudo (optional) | Add in visudo as needed |
Need Support?
You can contact our support team by emailing support@connectsecure.com or visiting our Partner Portal, where you can create, view, and manage your tickets.
https://cybercns.freshdesk.com/en/support/login
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article