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