Page 1 of 3

[Solved]Password prompts in MX Linux

Posted: Wed Apr 08, 2020 6:07 pm
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.

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 6:22 pm
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?

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 6:57 pm
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.

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 6:59 pm
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?

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 7:05 pm
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.

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 7:11 pm
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?

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 7:23 pm
by subluminal
I'm using MX 19.1

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 7:26 pm
by dolphin_oracle
Can you post the antixers file?

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 7:42 pm
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

Re: No password prompts after KDE install

Posted: Wed Apr 08, 2020 8:22 pm
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.