You are not logged in.

#1 2022-09-08 00:14

hwms
Member
Registered: 2022-09-07
Posts: 1

synaptic password

I tried several distros on my old dell laptop and Q4OS was one of a few that I was able to connect to my wifi. I like Q4OS KDE quite a lot.However....

I have read several posts about how to disable having to enter a user password to open synaptic. I even tried some of them like editing the sudoers file. Nothing has worked so far. I am retired and using an old dell laptop that no one uses except me. It is a small thing but I would like to open synaptic with having to type my password. I know all the warnings about making my installation unusable but would like to be able to do this. Any suggestions?
Thanks

Offline

#2 2022-09-08 06:15

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,203

Re: synaptic password

Editing sudoers is old school. These days you would probably need a polkit to run with root privileges but without a password.

After you have researched how to create polkits, I hope you will decide that it is a really bad idea after all.

Offline

#3 2022-09-14 14:23

jhwms
Member
Registered: 2022-09-14
Posts: 1

Re: synaptic password

I found this and installed it and no more password when I open synaptic.

Create the file /etc/polkit-1/localauthority/50-local.d/99-nopassword.pkla (or any other file name, just the location and ending has to be the same) and fill it with:

[No password prompt]
Identity=unix-group:sudo
Action=*
ResultActive=yes

Offline

#4 Yesterday 17:43

paul57
Member
Registered: 2023-01-25
Posts: 2

Re: synaptic password

Used Linux from 2011 to about 2014 (eventually gave up since the only distribution I could print from stopped being supported) and came back in February this year when it became clear my laptop would not support Windows after December 2022.

Just my opinion but I don't see why typing in your password when you use synaptic is such a chore. Takes just a few seconds.

Offline

#5 Today 00:52

crosscourt
Member
Registered: 2017-05-07
Posts: 1,774
Website

Re: synaptic password

Ill second bin's comment as getting rid of the synaptic password is a very bad idea.


Q4OS Gemini KDE   Lenovo Thinkcentre M700 Tiny   2.2ghz i5 cpu, 16gb ddr4, 256gb ssd

Offline

Board footer

Powered by FluxBB