[sudo-users] sudo crontab -e gives me ED instead of vi

Todd C. Miller Todd.Miller at courtesan.com
Tue Jan 29 08:17:09 EST 2008

In message <A89EE682D387824BA8B260A0A137FBCE1ADAD5 at msgswbiadsm28.wellsfargo.com
	so spake  (John.Hallman):

> Anyone come across not being able to sudo crontab -e?

What does "sudo printenv | egrep '(VISUAL|EDITOR)' display?
You may need to add a line like the following to /etc/sudoers

Defaults	env_keep+="VISUAL EDITOR"

 - todd

More information about the sudo-users mailing list