Hacker News new | past | comments | ask | show | jobs | submit login

I usully use "sudo -E EDITOR_OF_MY_CHOICE"



Many editors can execute shell commands, so this isn't the same at all.


That makes your editor run as root, which is a bad idea for many reasons (aside from security, any mistake now has the potential mess with the whole system).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: