My user is no longer in the sudoers group randomly
My user is no longer in the sudoers group randomly
So I installed a python package but could not run it and after the install it said my user is not part of the sudoers group. Whenever I try a command with sudo it would request my password but then return the same message. So I tried to uninstall and reinstall sudo in single user mode and this is where I got stuck. My laptop does not have an Ethernet port and I can see the wireless card okay. But it will not for the life of me connect in single user mode although in normal boot it is connected like nothing happened (just I no longer have sudo installed). I tried wpa_supplicant but it refuses to connect. Any recommendations for what to do? Thanks in advance
Re: My user is no longer in the sudoers group randomly
can you log in as root?
if so, wget does the following line show?
cat /usr/local/etc/sudoers
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL
## Uncomment to allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
Mine uses the "wheel" user/group
make sure your account is added to the wheel or sudo account as well
if so, wget does the following line show?
cat /usr/local/etc/sudoers
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL
## Uncomment to allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
Mine uses the "wheel" user/group
make sure your account is added to the wheel or sudo account as well