aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-30 17:56:00 +0200
committerMattias Andrée <maandree@kth.se>2021-08-30 17:56:00 +0200
commit03b18525432fdc35c924940b6955395b8650093e (patch)
treee60daaeea3398973cb1ab0f84be902c0eae8bb60 /README
parentRestore terminal attributes if interrupting asroot prompt (diff)
downloadeditasroot-1.0.tar.gz
editasroot-1.0.tar.bz2
editasroot-1.0.tar.xz
Add README and editasroot.81.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README36
1 files changed, 36 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..fa9d2ff
--- /dev/null
+++ b/README
@@ -0,0 +1,36 @@
+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)