[sudo-users] sudo crontab

Matthew Stier Matthew.Stier at us.fujitsu.com
Thu Mar 6 16:31:07 EST 2008


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"

Jeanne Ilchuk wrote:
> How'd you know I was on Solaris :-)
>
> Thanks, that is working perfectly.  My fingers were wearing out logging 
> in and out of all app users (such as SFX instances, we have 9).  Thanks 
> again.
>
> Jeanne
>
> Todd C. Miller wrote:
>   
>> Try adding the following line to the top of you sudoers file:
>>
>> Defaults	env_keep+=EDITOR
>>
>> It looks like Solaris defaults to ed, not vi if EDITOR is not set.
>>
>>  - todd
>>     
>
> ____________________________________________________________ 
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>   


More information about the sudo-users mailing list