editasroot

Description: Edit a file that requires root access
Status: Feature complete
Source: https://git.maandree.se/editasroot
Latest release: 1.0.1
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

The editasroot utility uses asroot(8) to get access to the specified file, creates a copy of the file and edits it with the user's default editor, and then saves the new content to the access restricted file.