On Wed, May 05, 2004 at 03:30:07AM -0500, David L Norris wrote: > # root can change john's group membership like this > usermod -G proj john This is bad because it *replaces* the current list of groups. If john was previously a member of 'staff' or 'proj2', that would be removed. This is why gpasswd -a is usually better. > > How can john change his primary group on the commandline? > newgrp proj But this is basically obsolete -- there's almost never a reason to do this. -- Matthew Miller mattdm@xxxxxxxxxx <http://www.mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/>