Odd stuff. This has started on all of my Plasma PC's over the last month or so. On my main machine I used to do updates via terminal, then do a sudo shutdown now. The sudo update commands work fine. If I try to shut down though it tells me I'm not in the sudoer's file.
Other PC, I log into it remotely to do it's updates via Remmina. Have done this for years. Again I do sudo update and it runs fine. But if I do a sudo to update flatpak, or shutdown, I'm now magically not in the sudoer file.
amdmediabox@amdmediabox ~ $ sudo flatpak update -y && sudo flatpak remove --unused -y
[sudo] password for amdmediabox:
amdmediabox is not in the sudoers file.
amdmediabox@amdmediabox ~ $ groups amdmediabox
amdmediabox : amdmediabox dialout audio video cdrom input users lpadmin scanner plugdev fuse sudo sambashares
How do I fix this?