You are not logged in.
Hi,
today suddenly I started having this message whenever trying to execute any command with sudo
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Fortunately I could solve the issue by logginout and logging in as root and by executing
chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
and restarting.
The thing is... why it happened??? I did not install anything other than from official repos and AUR and I did not run any script or change and permissions manually.
Should I be scared of some malicious aur package, virus or anything else? Is there a way to check my system is still safe?
Thanks!
Offline
What were the permissions when it was not working?
Online
...I did not check the permission, but the owner when not working was luca:root (luca is my account)
Offline
Something like
$ journalctl | egrep 'chown|chmod'
might be worth a try, since commands e .g. sudo log the commands that have been executed. Maybe something comes up.
Offline