 |
|
 |
|
Next: [gentoo-user] xfce4
|
| Author |
Message |
External

Since: Nov 02, 2004 Posts: 341
|
(Msg. 1) Posted: Sat Dec 04, 2004 12:00 am
Post subject: [gentoo-user] How do I add a user to a group without deleting from all others? Archived from groups: linux>gentoo>user (more info?)
|
|
|
usermod is painfully lacking. You can't really add a user to a
supplemental group. You effectively wipe out all supplemental group
memberships, and submit a new list. Given all the groups in Gentoo,
this is painfull. Is there a utility somewhere? Nothing mentioned in
"see also" in the usermod man page.
--
Walter Dnes <waltdnes DeleteThis @waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
gentoo-user DeleteThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Sep 30, 2004 Posts: 6
|
(Msg. 2) Posted: Sat Dec 04, 2004 12:20 am
Post subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 04 Dec 2004 5:58 pm, Walter Dnes wrote:
> usermod is painfully lacking. You can't really add a user to a
> supplemental group. You effectively wipe out all supplemental group
> memberships, and submit a new list. Given all the groups in Gentoo,
> this is painfull. Is there a utility somewhere? Nothing mentioned in
> "see also" in the usermod man page.
gpasswd -a user group
--
gentoo-user.RemoveThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Jun 27, 2004 Posts: 106
|
(Msg. 3) Posted: Sat Dec 04, 2004 2:10 am
Post subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Walter Dnes wrote:
> usermod is painfully lacking. You can't really add a user to a
>supplemental group. You effectively wipe out all supplemental group
>memberships, and submit a new list. Given all the groups in Gentoo,
>this is painfull. Is there a utility somewhere? Nothing mentioned in
>"see also" in the usermod man page.
>
>
I usually just su to root and edit /etc/group manually. Not sure if
that's a good idea or not, but hey, I haven't had any problems yet
James
--
My blog: http://www.crazydrclaw.com/
My homepage: http://james.colannino.org/
"Black holes are where God divided by zero." --Steven Wright
--
gentoo-user.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Feb 23, 2006 Posts: 381
|
(Msg. 4) Posted: Sat Dec 04, 2004 9:30 am
Post subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Friday 03 December 2004 10:58 pm, "Walter Dnes" <waltdnes.RemoveThis@waltdnes.org>
wrote:
> usermod is painfully lacking. You can't really add a user to a
> supplemental group. You effectively wipe out all supplemental group
> memberships, and submit a new list. Given all the groups in Gentoo,
> this is painfull. Is there a utility somewhere? Nothing mentioned in
> "see also" in the usermod man page.
Try kuser in kde-base/kdeadmin.
--
Boyd Stephen Smith Jr.
bss03.RemoveThis@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
gentoo-user.RemoveThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Oct 16, 2004 Posts: 43
|
(Msg. 5) Posted: Sat Dec 04, 2004 9:30 am
Post subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Boyd Stephen Smith Jr. wrote:
>On Friday 03 December 2004 10:58 pm, "Walter Dnes" <waltdnes.TakeThisOut@waltdnes.org>
>wrote:
>
>
>> usermod is painfully lacking. You can't really add a user to a
>>supplemental group. You effectively wipe out all supplemental group
>>memberships, and submit a new list. Given all the groups in Gentoo,
>>this is painfull. Is there a utility somewhere? Nothing mentioned in
>>"see also" in the usermod man page.
>>
>>
>
>Try kuser in kde-base/kdeadmin.
>
>
>
Or webmin
--
Francisco
--
gentoo-user.TakeThisOut@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Feb 23, 2006 Posts: 381
|
(Msg. 6) Posted: Sat Dec 04, 2004 9:40 am
Post subject: Re: [gentoo-user] Re: How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Saturday 04 December 2004 06:56 am, Thomas Kirchner <lists.TakeThisOut@halffull.org>
wrote:
> On Dec 3 23:07, James Colannino wrote:
> > I usually just su to root and edit /etc/group manually. Not sure if
> > that's a good idea or not, but hey, I haven't had any problems yet
>
> It's not the worst thing in the world, I've done it plenty of times.
> The better way is to use vigr (and vipw for /etc/passwd) to edit
> group/shadow files. It makes sure that the file doesn't get corrupted
> in the process of editing.
What package are those from? (qpkg -I -f `which vigr` ; qpkg -I -f `which
vipw) I don't seem to have them on my system.
--
Boyd Stephen Smith Jr.
bss03.TakeThisOut@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
gentoo-user.TakeThisOut@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Apr 07, 2004 Posts: 1095
|
(Msg. 7) Posted: Sat Dec 04, 2004 5:00 pm
Post subject: Re: [gentoo-user] Re: How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 2004-12-04 at 08:22 -0600, Boyd Stephen Smith Jr. wrote:
> On Saturday 04 December 2004 06:56 am, Thomas Kirchner <lists.DeleteThis@halffull.org>
> wrote:
> > On Dec 3 23:07, James Colannino wrote:
> > > I usually just su to root and edit /etc/group manually. Not sure if
> > > that's a good idea or not, but hey, I haven't had any problems yet
> >
> > It's not the worst thing in the world, I've done it plenty of times.
> > The better way is to use vigr (and vipw for /etc/passwd) to edit
> > group/shadow files. It makes sure that the file doesn't get corrupted
> > in the process of editing.
>
> What package are those from? (qpkg -I -f `which vigr` ; qpkg -I -f `which
> vipw) I don't seem to have them on my system.
as vigr and vipw are in /usr/sbin, its likely that which vigr is failing
if you are joe user, as they will not be in your path.
as root:
sf linux # qpkg -f `which vigr`
sys-apps/shadow *
as nick:
nick@sf nick $ qpkg -f `which vigr`
which: no vigr in
(/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:/usr/games/bin:/opt/vmware/bin)
>
--
Nick Rout <nick.DeleteThis@rout.co.nz>
--
gentoo-user.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Nov 02, 2004 Posts: 341
|
(Msg. 8) Posted: Sat Dec 04, 2004 5:20 pm
Post subject: Re: [gentoo-user] How do I add a user to a group without deleting from all others? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, Dec 04, 2004 at 06:14:50PM +1300, Glenn McCarthy wrote
> On Sat, 04 Dec 2004 5:58 pm, Walter Dnes wrote:
> > usermod is painfully lacking. You can't really add a user to a
> > supplemental group. You effectively wipe out all supplemental group
> > memberships, and submit a new list. Given all the groups in Gentoo,
> > this is painfull. Is there a utility somewhere? Nothing mentioned in
> > "see also" in the usermod man page.
>
> gpasswd -a user group
Thanks. That's exactly what I was looking for.
--
Walter Dnes <waltdnes.DeleteThis@waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
gentoo-user.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|