-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Summary
Previously for linux users it was not known (in general/documentation) how to start proxy without running sudo (or with root privileges). This is annoying at best and also makes automation scripts difficult. This issue ticket is to be used to explain how to open proxy connections to Faraday units without root privileges.
Problem Explanation
The user account running the proxy program must be added to the dialout group. Doing so will allow the user to open proxy and connect to a unit without the "permission denied" error.
This information should:
- Be included in documentation
- Be stated in relevant scripts/programs opening proxy to allow easier debugging.
Environment
Software
- Faraday
- Master
- Linux
- Ubuntu 16.04 LTS
Hardware
N/A
Supporting Information
Running the following command in terminal will open a new terminal window running faraday-proxy:
gnome-terminal -x faraday-proxy --number 1 --start
If the user is not in the dialout user group this will fail to connect stating 'Permission Denied'. The user is left to either use sudo every time proxy is to be run or add their user name to the linux dialout group.
Simply adding the user to the dialout group and logging out and back in will solve the problem.
sudo usermod -a -G dialout $USER