about summary refs log tree commit diff
path: root/doc/s6-envuidgid.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 21:19:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-04 21:19:25 +0000
commit320cdee53ad9f2252403402fb0b41764cdc001fd (patch)
treeb43bac0f373531d1f1bb5ec6e658f125f8f5aed1 /doc/s6-envuidgid.html
parent2807442e2cff8645fc4fdb84efd257fe2b2c55a3 (diff)
downloads6-320cdee53ad9f2252403402fb0b41764cdc001fd.tar.gz
s6-320cdee53ad9f2252403402fb0b41764cdc001fd.tar.xz
s6-320cdee53ad9f2252403402fb0b41764cdc001fd.zip
- add -g option to s6-envuidgid
 - set s6-log processor wd to the logdir
Diffstat (limited to 'doc/s6-envuidgid.html')
-rw-r--r--doc/s6-envuidgid.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/s6-envuidgid.html b/doc/s6-envuidgid.html
index b3fa6b3..48e9a20 100644
--- a/doc/s6-envuidgid.html
+++ b/doc/s6-envuidgid.html
@@ -26,7 +26,7 @@ then executes into another program.
 <h2> Interface </h2>
 
 <pre>
-     s6-envuidgid [ -i | -D <em>uid</em>:<em>gid</em> ] <em>account</em> <em>prog...</em>
+     s6-envuidgid [ -g ] [ -i | -D <em>uid</em>:<em>gid</em> ] <em>account</em> <em>prog...</em>
 </pre>
 
 <ul>
@@ -43,6 +43,9 @@ primary group, GIDLIST is still set, but empty.) </li>
 <h2> Options </h2>
 
 <ul>
+ <li> <tt>-g</tt>&nbsp;: group. <em>account</em> will be interpreted as a
+group name instead of a user name; the GID environment variable will be set
+to its numerical value, and the UID and GIDLIST variables will not be touched. </li>
  <li> <tt>-i</tt>&nbsp;: insist. If <em>account</em> is unknown, exit 1 with
 an error message. This is the default. </li>
  <li> <tt>-D&nbsp;<em>uid</em>:<em>gid</em></tt>&nbsp;: if <em>account</em>