1

I am using Arch Linux

I have noticed that the software installs programs such as minetest or red alert without a root password

But why does this happen?

Interesting because when I uninstall it it asks me for the root password, but it does not ask for it during installation

2
  • Perhaps it is installed under the user you are currently running and deploys it under its home directory which does not need root privs, with the uninstall assuming you do need them, when it does not. Or, perhaps the install is using cached sudo privs, but the uninstall does not. Just check where the files are actually loaded. Commented Jan 21, 2022 at 11:20
  • I did not know how interesting .... the files were uploaded in the /usr/share path @Bib Commented Jan 21, 2022 at 11:45

1 Answer 1

0

I found the answer I got help from this question and answer

https://bbs.archlinux.org/viewtopic.php?id=215993

I deleted the following file to fix it

rm /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules

2
  • The article cited said "Is your normal user a member of the wheel group? Check /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules". It did not say you should delete the file**!**
    – U. Windl
    Commented Jan 22, 2022 at 23:42
  • Sorry, I'm weak in English and use a translator Because of this I could not understand the article properly @U. Windl Commented Feb 12, 2022 at 9:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .