From: Nick Rout <nick@rout.co.nz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: How do I add a user to a group without deleting from all others?
Date: Sun, 05 Dec 2004 11:00:26 +1300 [thread overview]
Message-ID: <1102197626.10364.16.camel@sf.rout.dyndns.org> (raw)
In-Reply-To: <200412040822.08319.bss03@volumehost.com>
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
next parent reply other threads:[~2004-12-04 21:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Nick Rout [this message]
[not found] ` <200412041814.51112.rotech12a@xtra.co.nz>
2004-12-04 22:18 ` [gentoo-user] How do I add a user to a group without deleting from all others? Walter Dnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1102197626.10364.16.camel@sf.rout.dyndns.org \
--to=nick@rout.co.nz \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox