Pretty barebones Arch installation aside from xcfe4, xorg, and networkmanager. When using sudo as my default account I receive the prompt "user is not in the sudoers file"
These are my files respectively
visudo
# User privilege specification
##
root ALL=(ALL:ALL) ALL
Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL
/etc/group
wheel:x:998:andrew
OUTPUT
[andrew@1551-VOSTRO ~]$ sudo pacman -Syu
[sudo] password for andrew:
andrew is not in the sudoers file.
I am assuming this is something simple, but usually sudo is as simple as installing, uncommenting the wheel group option and adding the user to the group.
wheel
? What's the result ofid
(run asandrew
)? If thewheel
group isn't present that's your problem – Chris Davies Mar 15 '23 at 13:59