HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Zardoz84 | Hacker News Reader
Parent
Full thread
Zardoz84
·
I usully use "sudo -E EDITOR_OF_MY_CHOICE"
View on HN
liftm
·
Many editors can execute shell commands, so this isn't the same at all.
Denvercoder9
·
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).
Reply on news.ycombinator.com