On Sun, 8 Jun 2003 21:58:27 +1000
Steve Kowalik <[EMAIL PROTECTED]> wrote:

> At  5:11 pm, Sunday, June  8 2003, Robert Tillsley <[EMAIL PROTECTED]> 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.

So ...

  export VISUAL=ed  
or
 export VISUAL=joe

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
under redhat.


Regards,
Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to