Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

share|improve this question

closed as off-topic by Braiam, guntbert, BuZZ-dEE, Lucio, mikewhatever Feb 4 '14 at 22:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Braiam, guntbert, BuZZ-dEE, Lucio, mikewhatever
If this question can be reworded to fit the rules in the help center, please edit the question.

Does anyone have any suggestions? –  Chris Good Dec 21 '12 at 21:03
Problem has gone away. I've no idea why. Maybe some update has fixed it. It wasn't just that I've rebooted as I had already done that many times. –  Chris Good Jan 3 '13 at 3:19

Browse other questions tagged or ask your own question.