Quoc An Ha
Blog
Editing root restricted files
It is often that we need to edit a file restricted to root privileges. Naively one could simply do however this has certain drawbacks: Your editor is executed as root, which means any vulnerability in your editor now potentially can access your…