On Fri, Jan 21, 2005 at 05:43:52PM +1100, Chris Deigan wrote:
>
> The command you want is gpasswd.
Nice! Didn't know about gpasswd.
Though for reference you can do this with usermod:
usermod -g apache -G amavis apache
It's pretty brutal though, since you need to know the original memberships.
You have to use -g to specify the primary group and list all of the
existing group memberships as well in the -G list :-(
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html