summaryrefslogtreecommitdiff
path: root/man/1/runas
diff options
context:
space:
mode:
Diffstat (limited to 'man/1/runas')
-rw-r--r--man/1/runas23
1 files changed, 23 insertions, 0 deletions
diff --git a/man/1/runas b/man/1/runas
new file mode 100644
index 00000000..9fa6c4f6
--- /dev/null
+++ b/man/1/runas
@@ -0,0 +1,23 @@
+.TH RUNAS 1
+.SH NAME
+runas \- run command as another user
+.SH SYNOPSIS
+.B runas
+.I user
+.I cmd
+[
+.IR arg ...
+]
+.SH DESCRIPTION
+.I Runas
+writes
+.I user
+to /dev/user and invokes
+.I cmd
+with the given arguments.
+The command is only invoked if setting of the user name succeeds.
+.SH SOURCE
+.B /appl/cmd/runas.b
+.SH "SEE ALSO"
+.IR cons (3),
+. \ No newline at end of file