I don’t really know what’s going on, a few days ago I started having the following problems:
1.- When I want to change to root (for example), it asks me for a password that I did not create or have. But I can log in to my normal account.
2.- a) When I put in the console “sudo passwd root” I get “/usr/bin/sudo must be owned by uid 0 and have the setuid bit set”.
b) If I put “sudo pacman -Syu” in the console i get the same as in a).
your normal user account is a member of the group “wheel”
that is the group that has got admin rights
this means:
your normal user account (the first one, created when you installed the system) has got admin rights
to get root you type sudo su -
or sudo pacman -Syu
then give your normal users password
Several ways to fix it.
I’d try it by booting a live system, accessing the drive with your / filesystem
(where the sudo program is)
and change the rights from there
Do you understand how to do that?
Before you go:
How did you manage to change the permissions on the sudo program? and why?
This is what I hoped to find evidence of in the shell history.
i always make sure to verify what I type in the console before pressing enter. I noticed this problem when i tried to upgrade my system.
By the way, thanks for the help.