aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-12-19 16:44:15 +0100
committerMattias Andrée <m@maandree.se>2025-12-19 16:44:15 +0100
commitd529707547ae73fdd19221a43fdd0f7438e21b92 (patch)
tree8810013afa97f780a603cdeb4d025fcbf4374c94 /README
downloadgasroot-d529707547ae73fdd19221a43fdd0f7438e21b92.tar.gz
gasroot-d529707547ae73fdd19221a43fdd0f7438e21b92.tar.bz2
gasroot-d529707547ae73fdd19221a43fdd0f7438e21b92.tar.xz
First commit
Signed-off-by: Mattias Andrée <m@maandree.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..e5e34b7
--- /dev/null
+++ b/README
@@ -0,0 +1,36 @@
+NAME
+ gasroot - run a process as the root user
+
+SYNOPSIS
+ gasroot [-e] command [argument] ...
+
+DESCRIPTION
+ The gasroot utility asks for the user's password, using a graphical
+ interface, and runs the specified command with sanitised and updated
+ environment variables.
+
+ Only users in the wheel group are allowed to run the asroot utility,
+ unless it is installed with non-standard permissions.
+
+OPTIONS
+ The asroot utility conforms to the Base Definitions volume of
+ POSIX.1-2017, Section 12.2, Utility Syntax Guidelines.
+
+ The following option is supported:
+
+ -e Keep the environment variables as is. Neither sanitise nor
+ update them.
+
+OPERANDS
+ The following operands are supported:
+
+ command
+ The command that shall be run with as the root user. This will
+ be both the process image and the process's zeroth command line
+ argument.
+
+ argument ...
+ Command line arguments for the command to run.
+
+SEE ALSO
+ asroot(8), key2root(8), sudo(8), doas(1), su(1)