[sudo-users] sudo crontab

Russell Van Tassell russell+sudo-users at loosenut.com
Thu Mar 6 18:35:36 EST 2008

On Thu, Mar 06, 2008 at 04:31:07PM -0500, Matthew Stier wrote:
> Actually, it is EDITOR for Solaris 2.0 through 8, and VISUAL for Solaris 
> 10.  (I don't have a Solaris 9 system to check)
> Defaults   env_keep+="EDITOR VISUAL"

Actually, more accurately... newer versions of Solaris (8+) uses BOTH
the EDITOR and VISUAL variables and VISUAL is preferred over EDITOR (in
the case of both being set).  The editor defaults to ed.

Though I no longer have a Solaris 7 box to check, Solaris 2.5.1/2.6 use
EDITOR... I assume (and seem to recall) "VISUAL" was added in Solaris 7.

And Solaris 10 now claims to be EDITOR only, but the default editor is
now vi rather than ed (though I only have 10.1 machines to check).

Russell M. Van Tassell
russell at loosenut.com

It's not that I'm afraid to die.  I just don't want to be there when it
happens.                                                  -- Woody Allen

More information about the sudo-users mailing list