Its usermod -G group1,group2,group3 -g defaultgroup username e.g, you have a user fred, you want him to have a default group of fred, but also to be in the wheel, mysql and games group usermod -G wheel,games,mysql -g fred fred Note, that's usermod *not* useradd, because the user already exists. You should typically have a single mysql user though that is only in the mysql group for security reasons. Rather than running it as some other user. Regards Aaron On Mon, Feb 03, 2003 at 10:13:46PM -0500, Jude DaShiell wrote: > It appears the reason for the 2002 error coming back from mysql is that > the user that tried to run mysql has first to be added to the mysql group. > I don't know how to do that form of the useradd command. It uses useradd > -G followed by a comma separated list of groups. > > -- > Jude <dashielljt(at)gmpexpress-dot-net> > > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup