summaryrefslogtreecommitdiff
path: root/doc/s6-setuidgid.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/s6-setuidgid.html')
-rw-r--r--doc/s6-setuidgid.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/s6-setuidgid.html b/doc/s6-setuidgid.html
index 95e0e2d..eb4e7f6 100644
--- a/doc/s6-setuidgid.html
+++ b/doc/s6-setuidgid.html
@@ -29,6 +29,8 @@ s6-setuidgid executes a program as another user.
</pre>
<ul>
+ <li> If <em>account</em> is the empty string, then s6-setuidgid directly execs
+into <em>prog...</em> without any state changes. </li>
<li> If <em>account</em> contains a colon, it is interpreted as <em>uid:gid</em>,
else it is interpreted as a username and looked up by name in the account
database. </li>
@@ -41,10 +43,10 @@ according to the group database. </li>
<h2> Notes </h2>
-<p>
- s6-setuidgid can only be run as root. Its main use is to drop root privileges before
-starting a daemon.
-</p>
+<ul>
+ <li> Unless <em>account</em> is empty, s6-setuidgid can only be run as root. Its main use
+is to drop root privileges before starting a daemon. </li>
+</ul>
</body>
</html>