Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

GDebi gui installer

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
sujitnag
Posts: 13
Joined: 2013-04-20 05:59

GDebi gui installer

#1 Post by sujitnag »

GDebi GUI installer is not asking root/ superuser permission before installing any software.

I want to restrict GDebi to ask for permission. How can I do that please?

I use Debian 9.5 OS.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: GDebi gui installer

#2 Post by stevepusser »

If you have previously used root or sudo in your session, it may be retaining the permission for a period of time. No doubt there's a way to disable that, which a web search should turn up easily.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: GDebi gui installer

#3 Post by debiman »

interesting problem.
iirc, there's a difference between using pkexec and using sudo.
first of all, you need to find out with which command gdebi is being launched.

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: GDebi gui installer

#4 Post by CwF »

I just checked, my impression was gdebi does bypass permissions somehow. So I added it to my base vm image for this reason, to easlily add something for testing after I drag the deb to the vm desktop..

Indeed, a fresh boot with no passwords entered anytime, no continued sessions from any previously authorized things...

And it open up fine without a password. And a default menu entry:

Code: Select all

gdebi-gtk %f

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: GDebi gui installer

#5 Post by debiman »

i don't think sudo would be set up by default to allow nopasswd for gdebi, so it must be pkexec. i guess. or know of no third option.

User avatar
sujitnag
Posts: 13
Joined: 2013-04-20 05:59

Re: GDebi gui installer

#6 Post by sujitnag »

I found that previous s/w root permission create this problem, now I unchecked remember option it is ok.
thanks everyone

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: GDebi gui installer

#7 Post by stevepusser »

sujitnag wrote:I found that previous s/w root permission create this problem, now I unchecked remember option it is ok.
thanks everyone
Please edit the title of your first post in this thread and add [SOLVED] to help anyone searching for an answer. Thanks!
MX Linux packager and developer

Post Reply