Hi!
In Ubuntu (7.04 and 6.06 at least) there is a problem with "id" command.
The info from the command is often not updated.. for example if I change
the user's group by newgrp command and then issue "id", I still see the
old primary group. If I say "id username", I get the right info... But
the really funny thing is that once happened just the opposite.. I got
the wrong info when saying "id username" and the right when saying just
"id".. here is the first scenario:
sudo delgroup david svn
Removing user `david' from group `svn'...
done.
address@hidden:/var/svn/thoughtbag$ id
uid=1000(david) gid=1000(svn) groups=100(users),1000(svn)
address@hidden:/var/svn/thoughtbag$ id david
uid=1000(david) gid=100(users) groups=100(users)
Bye!
David