Can't update to 5.18.8 because of pkexec

Asked by Paul Ubuntu

sudo chmod -s $(which pkexec)

After fallowing the advice https://www.esecurityplanet.com/trends/hacking-linux-is-easy-with-pwnkit/ sudo chmod -s $(which pkexec) I get pkexec must be setuid root when trying update the kernel.

How do I repair? How do I reverse sudo chmod -s $(which pkexec)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Mainline Kernel Installer Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Try

sudo chmod +s $(which pkexec)

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Remark:
The workaround with "chmod -s" should not more be necessary. The program has already been patched, see https://ubuntu.com/security/cve-2021-4034 with https://ubuntu.com/security/notices/USN-5252-1 and https://ubuntu.com/security/notices/USN-5252-2

Revision history for this message
Paul Ubuntu (paulubuntu2) said :
#3

Thanks Manfred Hampl, that solved my question.