I installed Debian 12 and defined a user. Now I would like to install other packages as that user. 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.
On Sun, 6 Oct 2024 10:47:05 +0200 (CEST)
Roger Price <roger@rogerprice.org> wrote:
Hello Roger,
I click on "details" but all I see is "Action:
com.ubuntu.pkexec.synaptic".
PolicyKit is installed: you must use the user's password.
I installed Debian 12 and defined a user. Now I would like to
install other packages as that user. 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.
I click on "details" but all I see is "Action:
com.ubuntu.pkexec.synaptic".
Is there some way on Debian 12 of authorising regular users to use
synaptic (provided they know the root password)?
Any hint or suggestion would be very welcome. Roger
On Sun, 6 Oct 2024 10:47:24 +0100
Joe <joe@jretrading.com> wrote:
Hello Joe,
My graphical menu calls synaptic-pkexec, and it definitely wants the
As does mine.
root password, and it says so explicitly.
Here, I get a different result. The requester asks for authentication
but does not specify root password. In fact, using the root password
fails (with the exact same details as Roger described), I *must* use
the user password.
Strange.
Admittedly, I'm on testing, but even when I was using testing before
Debian 12 (Bookworm) was released, I had the same results. That is, I
*had* to enter the user password.
On Sun, 6 Oct 2024 10:47:24 +0100
Joe <joe@jretrading.com> wrote:
Hello Joe,
My graphical menu calls synaptic-pkexec, and it definitely wants the
As does mine.
root password, and it says so explicitly.
Here, I get a different result. The requester asks for authentication
but does not specify root password. In fact, using the root password
fails (with the exact same details as Roger described), I *must* use the
user password.
Strange.
On Sun, 6 Oct 2024 10:47:05 +0200 (CEST)
Roger Price <roger@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.
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 ?
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
The %sudo line in /etc/sudoers has no effect. Is there some other
incantation needed in /etc/sudoers ?
You need to log out and back in, or at least start a new authentication session as yourself, to pick up the new group memberships.
Run the "id" command with no arguments to see your current group memberships. You'll see that "sudo" is not one of them.
Now try "su - rprice" to open a new session as yourself, in the same terminal. In this new session, if you run "id" with no arguments,
you should see the sudo group listed.
On Sun, 6 Oct 2024, Greg Wooledge wrote:
Run the "id" command with no arguments to see your current group memberships. You'll see that "sudo" is not one of them.
I found that if I then tried "id rprice" I could see "sudo".
On Sun, Oct 6, 2024 at 10:51 AM Roger Price wrote:
I logged out and back in. Command "sudo /usr/sbin/synaptic" called for my own
password, and now works correctly.
It is unclear if the Synaptic desktop icon is now working for you.
I'm using a recent install of Debian 13 (testing) and I remember that Synaptic would not start using the desktop icon. I remember changing something on /usr/share/applications/synaptic.desktop and it started
working. I think it was the Exec parameter. It is now
"Exec=synaptic-pkexec", and it's working.
On Sun, Oct 6, 2024 at 10:51 AM Roger Price wrote:
I logged out and back in. Command "sudo /usr/sbin/synaptic" called for my own
password, and now works correctly.
It is unclear if the Synaptic desktop icon is now working for you.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 154:58:52 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,848 |