You are not logged in.

#26 2018-03-06 07:45:37

seth
Member
Registered: 2012-09-03
Posts: 61,837

Re: Trouble running "gufw"

This is more or less equivalent to using gksu (just even worse; don't use the defaults, use "sudo --preserve-env=DISPLAY")

According to comment #18 this is due to a problem with the polkit agent. It would probably worth a cross-test to see whether it also works when running the polkit agent from a different shell (and if not, which modification it maybe makes to the running shell)

Offline

#27 2018-03-06 08:16:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,156

Re: Trouble running "gufw"

Seriously please stop suggesting these kind of hacks. Doing stuff like this will make files in your home directory be owned by root with all the problems that entails, there is a reason why it isn't recommended to run sudo on graphical apps and there's a reason gksudo and friends exist and by extension there is a reason why polkit and pexec exist and are expected to make gksudo and friends obsolete. The proper course of action here is to install a polkit agent that will properly and well definedly  ask for permissions for the operations that require it.

Being aware enough of security practices to want to run a firewall is commendable but then going ahead and ripping large holes into other security aspects of the system in an attempt to run them with the "proper" permissions is quite contradictory to the intial goal.

Offline

#28 2018-03-07 01:44:22

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: Trouble running "gufw"

^ Content has been removed.


/path/to/Truth

Offline

Board footer

Powered by FluxBB