GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DOASEDIT(1) FreeBSD General Commands Manual DOASEDIT(1)

doasedit
edit a text file and then write the file back to its original location with admin access

doasedit [file]

The doasedit utility opens an editor on a temporary copy of a text file. Once the file has been altered, it is written back to the original location, using doas for elevated access. This is intended for use in editing configuration files where the user may need to be root to edit a file, but does not wish to run their text editor as the super user.

The doasedit utility accepts one argument, the file to be edited. The text editor used during the editing process is set using the EDITOR environment variable.

The doasedit utility exits 0 on success, and >0 if an error occurs.

The editor command used for editing the target text file. If no EDITOR variable is set, then the command vi is used.

doas(1), doas.conf(5)

Jesse Smith <jessefrgsmith@yahoo.ca>
September 13, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.