<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"><<a href="mailto:shlomo.solomon@gmail.com" target="_blank">shlomo.solomon@gmail.com</a>></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'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 'dialout' command only after my e-mail?<br><br>If so, you need to re-login (or 're-pass' through root) in order to 'obtain' 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 'group' and 'cat' commands read configuration files, while 'id' 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>