You are not logged in.
I added myself to the wheel group to enable sudo and that worked fine. But now sudo doesn't seem to work, I assume it's from when I added myself to the input group because that's the only time I've touched groups since it worked. I've tried removing myself from that group (because it turns out I didn't need it), but that didn't work and now the different ways of listing groups all contradict each other.
[kaprikawn@arch ~]$ groups
users inputI am NOT in the input group, though this says I am.
[kaprikawn@arch etc]$ cat /etc/group | grep kaprikawn
wheel:x:999:kaprikawnThe groups file lists me in the wheel group only. It doesn't show me in the users group which is my primary group.
Can someone point me in the right direction as to how to fix this mess please. I've tried readding myself to the wheel group using usermod, that didn't work.
Last edited by kaprikawn (2018-01-05 14:46:03)
Offline
Yes, it didn't make a difference unfortunately
Offline
[kaprikawn@arch ~]$ id
uid=1000(kaprikawn) gid=986(users) groups=986(users),999(wheel)
[kaprikawn@arch ~]$ id kaprikawn
uid=1000(kaprikawn) gid=986(users) groups=986(users),999(wheel)
[kaprikawn@arch ~]$ getent group wheel input
wheel:x:999:kaprikawn
input:x:988:
[kaprikawn@arch ~]$ grep '^\(wheel\|input\):' /etc/group
wheel:x:999:kaprikawn
input:x:988:Offline
Sorry, don't worry, a reboot seems to have sorted it
Offline