Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
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 at 3:19

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.