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,200

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

Board footer

Powered by FluxBB