Sameer Pokarna forced the electrons to say:
> How does a user become a member of multiple groups?

Just add one's login id to the groups one want to be in, in /etc/groups.

> And how do I set the default group of the person? 

That is the one in /etc/passwd - the 4th field, to be precise. It is
called the primary group.

One can switch between groups using the newgrp(1) command.

Binand


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to