Bulletproof sudo-edit