about summary refs log tree commit diff
path: root/doc/s6-setuidgid.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-12-23 22:53:07 +0000
committerLaurent Bercot <ska@appnovation.com>2022-12-23 22:53:07 +0000
commit2c61fb1d1ce85fe400a8668e85fc0da42813a45a (patch)
tree68e0e63c747a08c3f3c38c7088a0e16c343afdb3 /doc/s6-setuidgid.html
parent977d6ca915355954ae6215b0aa577c24fc257efe (diff)
downloads6-2c61fb1d1ce85fe400a8668e85fc0da42813a45a.tar.gz
s6-2c61fb1d1ce85fe400a8668e85fc0da42813a45a.tar.xz
s6-2c61fb1d1ce85fe400a8668e85fc0da42813a45a.zip
Refactor libs6auto, add s6-instance-maker (untested)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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>