<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 11, 2013 at 8:50 AM, Shlomo Solomon <span dir="ltr">&lt;<a href="mailto:shlomo.solomon@gmail.com" target="_blank">shlomo.solomon@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">strange - I get conflicting results.<br>
<br>
[solomon@shlomo1 ~]$ id<br>
uid=500(solomon) gid=500(solomon) groups=500(solomon),418(vboxusers)<br>
<br>
[solomon@shlomo1 ~]$ groups<br>
solomon vboxusers<br>
<br>
[solomon@shlomo1 ~]$ cat /etc/group |grep solomon<br>
dialout:x:83:solomon<br>
solomon:x:500:<br>
vboxusers:x:418:solomon<br>
<br>
On the other hand, you&#39;re right - this is a permissions problem. I<br>
tried the same command as root and it worked.<br></blockquote><div><br></div><div>I take it you added yourself to the &#39;dialout&#39; command only after my e-mail?<br><br>If so, you need to re-login (or &#39;re-pass&#39; through root) in order to &#39;obtain&#39; your group memberships to the active process tree. You could su to root and then su to solomon from there, for example.<br>


<br></div><div>Both your &#39;group&#39; and &#39;cat&#39; commands read configuration files, while &#39;id&#39; actually uses system calls to read information on the currently running process to print out whatever they print.<br>


<br></div><div>-- Shimi<br></div></div></div></div>