> -----Original Message----- > From: Walter Dnes [mailto:[EMAIL PROTECTED] > Sent: 12 January 2006 03:20 > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] su stopped working [SOLVED] > > > On Tue, Jan 10, 2006 at 02:34:24PM -0000, Michael Kintzios wrote > > > This can be avoided if you use the -a (for append) option. > > Huh??? > > [m3000][root][~] usermod -a -G audio user2 > usermod: invalid option -- a > Usage: usermod [-u uid [-o]] [-g group] [-G group,...] > [-d home [-m]] [-s shell] [-c comment] [-l new_name] > [-f inactive] [-e expire] [-p passwd] [-L|-U] name > > I RTFM'd, and I don't see any mention of "-a" in usermod. I use > gpasswd with the "-a" option. Is that what you meant?
No, I meant that the -a option should be used instead of -G if you want to append as opposed to replace the group set of a user. What happens when you run: # usermod -a audio user2 -- Regards, Mick -- gentoo-user@gentoo.org mailing list