Ubuntu 12.04.01 LTS hosted by VMWARE
When I use a Terminal window in the console using vmware vSphere as myself, 'id' only shows I'm a member of the main group (ie group in /etc/passwd). However, when I login remotely via ssh, 'id' now shows all the groups of which I'm a member.
This is a problem as, on the console, I can no longer sudo as it now thinks I'm not in the sudo group.
If I login to the vmware console as the user that installed Ubuntu, id correctly shows all the groups.
I added myself to /etc/group, /etc/gshadow by editting them and I can see no difference between how I'm set up in those files and how the Ubuntu installer user is setup.
What else do I need to fix so I can sudo from myself in the vmware console?
(I have tried logging in again many times)
I'm also a bit confused about what /etc/sudoers thinks is the admin group. /etc/group has adm, not admin, but sudoers has groups admin & sudo (NO adm). (I have seen postings in Ask Ubuntu saying in 12.04 group admin has been replaced by group sudo - maybe it is not a problem)
Thanks for any help