On Sun, 6 Oct 2024, Joe wrote:
On Sun, 6 Oct 2024 10:47:05 +0200 (CEST)
Roger Price <ro...@rogerprice.org> wrote:
... As with Debian 11, a synaptic
popup asks for the super user password, but after entering root
password I get "Authentification failure". This worked on Debian 11.
One test to try is to open a terminal, issue the su command and give
the root password, and if that is accepted, to give the command
/usr/sbin/synaptic to see what happens, and what error messages you get.
Thanks for the hint. I tried "su -c /usr/sbin/synaptic", gave the root password,
and that works. To simplify things I put alias synaptic='su -c
/usr/sbin/synaptic' in .bashrc .
I also tried to use sudo to call synaptic and failed:
rprice@maria ~ sudo /usr/sbin/synaptic
[sudo] password for rprice:
rprice is not in the sudoers file.
I see in /etc/sudoers
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
so as root I ran command "usermod -a -G sudo rprice" and checked that /etc/group
contained "sudo:x:27:rprice". I then tried again to call synaptic, with the
same result:
rprice@maria ~ sudo /usr/sbin/synaptic
[sudo] password for rprice:
rprice is not in the sudoers file.
The %sudo line in /etc/sudoers has no effect. Is there some other incantation
needed in /etc/sudoers ?
Roger