1 |
On Sat, 2004-12-04 at 08:22 -0600, Boyd Stephen Smith Jr. wrote: |
2 |
> On Saturday 04 December 2004 06:56 am, Thomas Kirchner <lists@××××××××.org> |
3 |
> wrote: |
4 |
> > On Dec 3 23:07, James Colannino wrote: |
5 |
> > > I usually just su to root and edit /etc/group manually. Not sure if |
6 |
> > > that's a good idea or not, but hey, I haven't had any problems yet ;) |
7 |
> > |
8 |
> > It's not the worst thing in the world, I've done it plenty of times. |
9 |
> > The better way is to use vigr (and vipw for /etc/passwd) to edit |
10 |
> > group/shadow files. It makes sure that the file doesn't get corrupted |
11 |
> > in the process of editing. |
12 |
> |
13 |
> What package are those from? (qpkg -I -f `which vigr` ; qpkg -I -f `which |
14 |
> vipw) I don't seem to have them on my system. |
15 |
|
16 |
as vigr and vipw are in /usr/sbin, its likely that which vigr is failing |
17 |
if you are joe user, as they will not be in your path. |
18 |
|
19 |
as root: |
20 |
sf linux # qpkg -f `which vigr` |
21 |
sys-apps/shadow * |
22 |
|
23 |
as nick: |
24 |
nick@sf nick $ qpkg -f `which vigr` |
25 |
which: no vigr in |
26 |
(/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) |
27 |
|
28 |
|
29 |
|
30 |
> |
31 |
-- |
32 |
Nick Rout <nick@×××××××.nz> |
33 |
|
34 |
|
35 |
-- |
36 |
gentoo-user@g.o mailing list |