> why not modify sudo to not filter the EDITOR env var then there is no
> more problem

no, there is a very valid reason why sudo filters the EDITOR env var.

sudo should probably be fixed to (re)set the EDITOR variable to a 'safe' 
systemwide default, instead of stripping it completely.

is there a list of sudo 'safe' EDITORs somewhere?

bangert

Attachment: pgpzezmkmrGXW.pgp
Description: PGP signature

Reply via email to