public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Re: How do I add a user to a group without deleting from all others?
       [not found]     ` <200412040822.08319.bss03@volumehost.com>
@ 2004-12-04 22:00       ` Nick Rout
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Rout @ 2004-12-04 22:00 UTC (permalink / raw
  To: gentoo-user

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@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@rout.co.nz>


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] How do I add a user to a group without deleting from all others?
       [not found] ` <200412041814.51112.rotech12a@xtra.co.nz>
@ 2004-12-04 22:18   ` Walter Dnes
  0 siblings, 0 replies; 2+ messages in thread
From: Walter Dnes @ 2004-12-04 22:18 UTC (permalink / raw
  To: Gentoo-user list

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@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@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-04 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20041204045834.GB9094@m1800>
     [not found] ` <41B1622A.6040806@colannino.org>
     [not found]   ` <20041204125658.GA20515@halffull.org>
     [not found]     ` <200412040822.08319.bss03@volumehost.com>
2004-12-04 22:00       ` [gentoo-user] Re: How do I add a user to a group without deleting from all others? Nick Rout
     [not found] ` <200412041814.51112.rotech12a@xtra.co.nz>
2004-12-04 22:18   ` [gentoo-user] " Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox