Article 5JV09 Groups listed with 'id' are different

Groups listed with 'id' are different

by
SlowCoder
from LinuxQuestions.org on (#5JV09)
I added myself (myuser) to the vboxusers group, and my /etc/groups file shows my user as a member of the vboxusers group.
Code:vboxusers:x:135:myuserWhen I execute the following as myuser:

Code:$ id myuser
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),134(sambashare),135(vboxusers)

$ id
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),134(sambashare)Why does the first show vboxusers, and the other one not?latest?d=yIl2AUoC8zA latest?i=j9MUZSoXsZg:NwITq3Y2JsU:F7zBnMy latest?i=j9MUZSoXsZg:NwITq3Y2JsU:V_sGLiP latest?d=qj6IDK7rITs latest?i=j9MUZSoXsZg:NwITq3Y2JsU:gIN9vFwj9MUZSoXsZg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments