There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Agility0971 ,
@Agility0971@lemmy.world avatar

The program that asks for password graphically is polkit. As far as I’ve searched online it only supports bypassing password prompts if you’re admin on the system. It does not have a password less prompt like in Windows. I’m using this and this as source in case you want to disable it all together. I’m not a mint user my self so I cannot validate this without spinning up virtual machine. I would recommend the community just look at whatever I wrote for 24h and mention some issues that might occur. I’ll update it if someone points out any issues.

Open any terminal (sorry) and copy one line at a time into the terminal and hit enter. After the first line you’ll be asked to enter the password. For the consecutive commands password will not be asked. On the last command you’ll open a graphical text editor and make sure certain text is present.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">sudo su
</span><span style="color:#323232;">mkdir -p /etc/polkit-1/rules.d/
</span><span style="color:#62a35c;">cd</span><span style="color:#323232;"> /etc/polkit-1/rules.d/
</span><span style="color:#323232;">touch 49-nopasswd_global.rules
</span><span style="color:#323232;">xdg-open 49-nopasswd_global.rules
</span>

You should now see a text editor appear with a file opened. Copy this and paste it in the file at the bottom. Then save, close and reboot.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">/*
</span><span style="color:#323232;"> *  https://lemmy.world/comment/1396602
</span><span style="color:#323232;"> *  Allow members of the wheel group to execute any actions
</span><span style="color:#323232;"> * without password authentication, similar to "sudo NOPASSWD:"
</span><span style="color:#323232;"> */
</span><span style="color:#323232;">polkit.addRule(function(action, subject) {
</span><span style="color:#323232;">    if (subject.isInGroup("wheel")) {
</span><span style="color:#323232;">        return polkit.Result.YES;
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">});
</span>

This is a security risk as you might understand, but it’s your computer and you can do whatever you want. If you have any issues just post them here and maybe we’ll figure something out.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines