Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo-user list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others?
Date: Sat, 04 Dec 2004 22:18:22
Message-Id: 20041204221809.GA8089@m1800
1 On Sat, Dec 04, 2004 at 06:14:50PM +1300, Glenn McCarthy wrote
2 > On Sat, 04 Dec 2004 5:58 pm, Walter Dnes wrote:
3 > > usermod is painfully lacking. You can't really add a user to a
4 > > supplemental group. You effectively wipe out all supplemental group
5 > > memberships, and submit a new list. Given all the groups in Gentoo,
6 > > this is painfull. Is there a utility somewhere? Nothing mentioned in
7 > > "see also" in the usermod man page.
8 >
9 > gpasswd -a user group
10
11 Thanks. That's exactly what I was looking for.
12
13 --
14 Walter Dnes <waltdnes@××××××××.org>
15 An infinite number of monkeys pounding away on keyboards will
16 eventually produce a report showing that Windows is more secure,
17 and has a lower TCO, than linux.
18
19 --
20 gentoo-user@g.o mailing list