-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security Widget gives wrong firewall info for non-root linux users #15
Comments
Whoa!... Going for 🎢 |
To disable need for sudo for ufwHere is a description for Linux Mint sudo visudo -f /etc/sudoers.d/ufwstatus
# Then add the following to that file:
# We need to add the "full" command as alias:
Cmnd_Alias UFWSTATUS = /usr/sbin/ufw status
# Group privilege specification
%ufwstatus ALL=NOPASSWD: UFWSTATUS Now run: # Add new group: "ufwstatus"
sudo groupadd -r ufwstatus
# Add the username (here "xxxx") to the "ufwstatus" group
sudo gpasswd --add xxxx ufwstatus
# We add all "root" user sbin paths for convenience
export PATH=${PATH}:/usr/local/sbin:/usr/sbin:/sbin
|
Accidentally closed, should not have been. |
senorprogrammer
pushed a commit
that referenced
this issue
May 5, 2019
senorprogrammer
pushed a commit
that referenced
this issue
May 5, 2019
Great! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The security widget is supposed to show the firewall status. This works great in Windows where 99% of users are running windows in single-user mode (as Administrator). However, in linux, in most distributions of the defualt installations, have to be root or use sudo with password in order to get the correct firewall info. I.e. to run
sudo ufw status
. This fails on several levels in the security widget.There are 3 work-arounds:
1 is the way to go and need to be documented
The text was updated successfully, but these errors were encountered: