sudo Breakage in Debian Sarge
30th Jan 2006, 21:24:13
$ sudo vi foo
gives an error when quitting vi:
E138: Can't write viminfo file $HOME/.viminfo!
Hit ENTER or type command to continue
The fix? Use visudo to add Defaults env_reset
to /etc/sudoers. The Debian bug report.