Archlinux installed on Android/Termux with PRoot.
No hashtag before %wheel in sudoers. User belongs to wheel. Logged out by reset and relogged in.
Still can't sudo.
$this->bbcode_second_pass_code('', '
[alarm@localhost ~]$ whoami
alarm
[alarm@localhost ~]$ groups
alarm aid_inet aid_everybody aid_u0_a25_cache aid_all_a25
[alarm@localhost ~]$ groups alarm
wheel alarm
[alarm@localhost ~]$ id -G
1000 3003 9997 20025 50025
[alarm@localhost ~]$ grep /etc/group -e wheel
wheel:x:998:alarm
[alarm@localhost ~]$ grep /etc/group -e aid
aid_u0_a25:x:10025:root,aid_u0_a25
aid_inet:x:3003:root,aid_u0_a25
aid_everybody:x:9997:root,aid_u0_a25
aid_u0_a25_cache:x:20025:root,aid_u0_a25
aid_all_a25:x:50025:root,aid_u0_a25
[alarm@localhost ~]$ grep /etc/sudoers -e %wheel
%wheel ALL=(ALL:ALL) ALL
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
[alarm@localhost ~]$ sudo echo
[sudo] password for alarm:
alarm is not in the sudoers file.
')
Seems that the system confuses alarm (and everyone else) with the user called aid_all_a25, which is not in wheel.
Issue mirror on reddit: https://www.reddit.com/r/archlinux/comm ... cant_sudo/
Any idea what could be happening here?