Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
/ editasroot Public archive

[Feature complete] Edit a file that requires root access

License

Notifications You must be signed in to change notification settings

maandree/editasroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo has been moved to Codeberg and may be out of date on GitHub.
Canonical repo: https://codeberg.org/maandree/editasroot


NAME
	editasroot - edit a file that requires root access

SYNOPSIS
	editasroot file

DESCRIPTION
	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.

OPTIONS
	The editasroot utility conforms to the Base Definitions volume
	of POSIX.1-2017, Section 12.2, Utility Syntax Guidelines.

	No option are supported.

OPERANDS
	The following operand is supported:

	file
		The file to edit.

CAVEATS
	The content of the file becomes accessible to the user and
	can be read, and potentially edited (good timing is needed),
	by malicious programs. If this is a security issue, do not
	run this program!

RATIONALE
	This utility lets users edit a file that requires root access,
	but with his own editor configurations.

SEE ALSO
	asroot(8), sudoedit(8)