SLUG Mailing List Archives
Re: [SLUG] vipw
- To: Steve Kowalik <steven@xxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] vipw
- From: mlh@xxxxxxxxxx
- Date: Mon, 9 Jun 2003 09:57:33 +1000
- Cc: slug@xxxxxxxxxxx
On Sun, 8 Jun 2003 21:58:27 +1000
Steve Kowalik <steven@xxxxxxxxxxxxxxx> wrote:
> At 5:11 pm, Sunday, June 8 2003, Robert Tillsley <robert@xxxxxxxxxxxxx> mumbled:
> > I've got it running, though I needed to remove the $. Do you know if its a
> > permanent change, or do I need to do this every time I log in?
> Right, I said this, I should explain:
> > > broken:~# export VISUAL="$(which ed)"
No need for a full path as programs search PATH
for $VISUAL anyway.
or whatever will do.
That said, vipw only adds a little locking
around your editor to make sure that not more than
one is editing it. If you're the only user I'd just
edit direct: joe /etc/passwd
Moreoever, I'm not sure that any other passwd manipulation
tools (useradd, userdel, usermod) take any notice of vipw
locking so it's not worth much really. FWIW there's no
vipw in Solaris anymore.
BTW, why aren't you using useradd, usermod, userdel?
Or even better whatever graphical user management tools
your dist. of linux gives you. ) e.g. redhat-config-users