Y
Hacker News
new
|
ask
|
show
|
jobs
by
Zardoz84
959 days ago
I usully use "sudo -E EDITOR_OF_MY_CHOICE"
2 comments
liftm
959 days ago
Many editors can execute shell commands, so this isn't the same at all.
link
Denvercoder9
959 days ago
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).
link