[Solved]Password prompts in MX Linux

Help on all MX Re-spins
Message
Author
subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

[Solved]Password prompts in MX Linux

#1 Post by subluminal »

After installing KDE and removing XFCE, synaptic isn't asking for any password. Same for konsole. MX package installer still asks for password. polkit-kde-agent-1 is installed and polkit-kde-authentication-agent-1 and polkitd are running.

How do I fix it so that normal behaviour resumes? This MX KDE is easily the fastest KDE I've ever used. So I would like to keep using it.

Any help would be much appreciated. Thanks.
Last edited by subluminal on Thu Apr 09, 2020 12:51 pm, edited 2 times in total.

subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

Re: No password prompts after KDE install

#2 Post by subluminal »

After moving /etc/sudoers.d/antixers to someplace else, the password prompts are back.

Does anyone know if moving that file will have any detrimental effect?

User avatar
dolphin_oracle
Developer
Posts: 22066
Joined: Sun Dec 16, 2007 12:17 pm

Re: No password prompts after KDE install

#3 Post by dolphin_oracle »

konsole runs as regular user by default, so not sure what you mean there.

to check synaptic, try

Code: Select all

synaptic-pkexec
and post any terminal output.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Developer
Posts: 22066
Joined: Sun Dec 16, 2007 12:17 pm

Re: No password prompts after KDE install

#4 Post by dolphin_oracle »

subluminal wrote: Wed Apr 08, 2020 6:22 pm After moving /etc/sudoers.d/antixers to someplace else, the password prompts are back.

Does anyone know if moving that file will have any detrimental effect?
are you talking about sudo prompts?

sudoers shouldn't have anything to do with synaptic launching. unless you were trying "sudo synaptic".

I haven't had any trouble with antixers under KDE. have you made any edits to it?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

Re: No password prompts after KDE install

#5 Post by subluminal »

Thanks for the replies.

By konsole, I meant no sudo prompts. Also removed synaptic.desktop file and edited synaptic-kde.desktop file to issue synaptic-pkexec command. Both issues are fixed by backing-up and then removing the /etc/sudoers.d/antixers file. Now everything is back to normal. But will moving the anitxers file cause any trouble in the future?

P.S made no edits to antixers file, simply removed it after backing it up in my data partition.

User avatar
dolphin_oracle
Developer
Posts: 22066
Joined: Sun Dec 16, 2007 12:17 pm

Re: No password prompts after KDE install

#6 Post by dolphin_oracle »

it won't hurt anything on an installed system, but it might be problematic on live.

are you using Mx19 or 18?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

Re: No password prompts after KDE install

#7 Post by subluminal »

I'm using MX 19.1

User avatar
dolphin_oracle
Developer
Posts: 22066
Joined: Sun Dec 16, 2007 12:17 pm

Re: No password prompts after KDE install

#8 Post by dolphin_oracle »

Can you post the antixers file?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

Re: No password prompts after KDE install

#9 Post by subluminal »

Code: Select all

# sudoers file.
 
%users ALL=(root) NOPASSWD: /sbin/halt 

%users ALL=(root) NOPASSWD: /sbin/poweroff

%users ALL=(root) NOPASSWD: /sbin/reboot  

%users ALL=(root) NOPASSWD: /sbin/blkid "" 

%users ALL=(root) NOPASSWD: /sbin/fdisk.distrib 

%users ALL=(root) NOPASSWD: /usr/bin/ceni  

%users ALL=(root) NOPASSWD: /usr/local/bin/persist-config

%users ALL=(root) NOPASSWD: /usr/local/bin/persist-save 

%users ALL=(root) NOPASSWD: /usr/sbin/minstall 

%users ALL=(root) NOPASSWD: /usr/local/bin/antixsources.sh

%users ALL=(root) NOPASSWD: /usr/local/bin/connectshares.sh

%users ALL=(root) NOPASSWD: /usr/local/bin/disconnectshares.sh 

%users ALL=(root) NOPASSWD: /bin/chvt 

%users ALL=(root) NOPASSWD: /usr/local/bin/menu_manager.sh 

%users ALL=(root) NOPASSWD: /usr/sbin/pm-hibernate

%users ALL=(root) NOPASSWD: /usr/sbin/pm-suspend

Defaults!/usr/local/bin/menu_manager.sh env_keep += "HOME"
Defaults  !requiretty
Defaults  !tty_tickets

%users ALL=(root) NOPASSWD: /usr/local/bin/update-default-desktop

User avatar
dolphin_oracle
Developer
Posts: 22066
Joined: Sun Dec 16, 2007 12:17 pm

Re: No password prompts after KDE install

#10 Post by dolphin_oracle »

well that's looks correct, and the same I'm using with kde without issue.

I'm not sure what's up here.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “MX Respins”