usermod -G does not take effect immediately

[email protected] Wed, 29 Oct 2003 11:58:45 -0500
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
I'm having trouble with the following behavior on
Gnu Linux:

  used 'usermod -G users,demo3 garg' to
add user 'garg' to the users and demo3 groups.

 Then, when I do 'groups' as user 'garg', I get
only 'users'.

 If I do 'groups garg' as user 'garg', then I get
'users demo3'.

 Can someone tell me what I'm doing wrong? This is
causing a problem as user 'garg' is not being able
to access some files properly. Is this some sort of
a caching problem?

 Thanks for any pointers.

Pankaj

-- 
Zee Source             	  [email protected]
1684 Nightingale Avenue   +1 408 373-4027 (Voice)
Suite 201		  +1 408 733-2737 (Fax)
Sunnyvale, CA 94807       http://www.zeesource.net