On Sun, Aug 11, 2013 at 8:50 AM, Shlomo Solomon <shlomo.solo...@gmail.com>wrote:
> strange - I get conflicting results. > > [solomon@shlomo1 ~]$ id > uid=500(solomon) gid=500(solomon) groups=500(solomon),418(vboxusers) > > [solomon@shlomo1 ~]$ groups > solomon vboxusers > > [solomon@shlomo1 ~]$ cat /etc/group |grep solomon > dialout:x:83:solomon > solomon:x:500: > vboxusers:x:418:solomon > > On the other hand, you're right - this is a permissions problem. I > tried the same command as root and it worked. > I take it you added yourself to the 'dialout' command only after my e-mail? 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. 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. -- Shimi
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il