Just a warning for anyone that uses this, sudoedit or sudo -e makes a temporary copy of the file and then moves it on top of the real file when the editor exits. Which means that writing your changes doesn't actually modify the file, which caused me much head banging because no matter what I did I'd get the same error since I was making changes that were buffered in sudoedit until I closed my editor, but I was retrying after just writing the change.
Oh wow that‘s stupid... not very usefull.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.