From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25137 invoked from network); 4 Dec 2004 21:59:36 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 4 Dec 2004 21:59:36 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CahwG-0002kf-DE for arch-gentoo-user@lists.gentoo.org; Sat, 04 Dec 2004 21:59:36 +0000 Received: (qmail 10345 invoked by uid 89); 4 Dec 2004 21:59:18 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 12589 invoked from network); 4 Dec 2004 21:59:18 +0000 Date: Sun, 05 Dec 2004 11:00:26 +1300 From: Nick Rout In-reply-to: <200412040822.08319.bss03@volumehost.com> To: gentoo-user@lists.gentoo.org Message-id: <1102197626.10364.16.camel@sf.rout.dyndns.org> MIME-version: 1.0 X-Mailer: Evolution 2.0.2 Content-type: text/plain Content-transfer-encoding: 7bit References: <20041204045834.GB9094@m1800> <41B1622A.6040806@colannino.org> <20041204125658.GA20515@halffull.org> <200412040822.08319.bss03@volumehost.com> Subject: Re: [gentoo-user] Re: How do I add a user to a group without deleting from all others? X-Archives-Salt: 66286f30-f657-4cc4-8912-8c866f186049 X-Archives-Hash: 929079e22dadf64abe1c1a055cebc358 On Sat, 2004-12-04 at 08:22 -0600, Boyd Stephen Smith Jr. wrote: > On Saturday 04 December 2004 06:56 am, Thomas Kirchner > 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 -- gentoo-user@gentoo.org mailing list