babluboy / nutty

A Network Utility
GNU General Public License v3.0
155 stars 25 forks source link

Running Nutty as a user #89

Open mrgreen3 opened 2 years ago

mrgreen3 commented 2 years ago

Wondering if it is possible to run Nutty as a user? When i try to start Nutty (scan) I get a dialog in a terminal asking for my password. Am assuming a polkit rule is required and or a new group.

babluboy commented 2 years ago

Yes correct - a polkit rule is required to run the scan for devices using nmap. Hopefully the command line option allows you to run Nutty with your password

WaleedMortaja commented 1 year ago

@babluboy The script runs nmap with sudo thus the output file would be owned by root user. The normal user then would not be able to read the file to retrieve the results. The ownership or the permissions of the output file should be changed to allow normal user to read the output.