Network scan, not root #553
Replies: 1 comment 1 reply
-
So a couple things here:
Network scan will not work as a non-root user. Upsnap calls nmap under the hood which needs root privileges to find devices.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does this feature work when the server is started with systemd? I have created a user, upsnap, installed into /home/upsnap, ran the setcap command and started the application via systemd. I enter my network on the scan page, it goes off for a few seconds and finishes, but no results are shown. The page says you have to run as root to do this. I tried this running as root from the command line and the scan works, but even running as root from systemd does not work. Is there a trick to getting this installed as a service? My systemd file is:
Beta Was this translation helpful? Give feedback.
All reactions