Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    With regards to security, Vim lets you drop to a shell, so if you allow a user to run Vim as root, you might as well give them root privileges. Commented Aug 10, 2022 at 16:02
  • I suspec the why here might be the important part. Given the ability to limit what users can use sudo for, "sudo -e" is much less prone to privilege escalation. Commented Aug 10, 2022 at 16:19