Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Zardoz84
· 3y ago · 0 comments
I usully use "sudo -E EDITOR_OF_MY_CHOICE"
Comments
[–]
liftm
3y ago
Many editors can execute shell commands, so this isn't the same at all.
[–]
Denvercoder9
3y 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).