From 716dde0b12532bb814c3cc8fedd99b8d16b3cf07 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 11 Sep 2015 17:04:18 +0000 Subject: s6-rc-update doc, bugfix --- doc/s6-rc-compile.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/s6-rc-compile.html') diff --git a/doc/s6-rc-compile.html b/doc/s6-rc-compile.html index 0c1afc1..8e4b279 100644 --- a/doc/s6-rc-compile.html +++ b/doc/s6-rc-compile.html @@ -86,6 +86,16 @@ to operate the database. If neither option is used, then root (and only root) is implicitly allowed.

+

+ It is important to only use the -u or -g +options when the user owning the supervision tree is not root. The +internal s6-rc mechanisms allow uids and gids specified by those +options to run any program as the user owning the supervision tree; +if that user is root, this becomes an easy avenue for unwanted +privilege gain. Only specify users that have the right to operate +the supervision tree! +

+

Source format

@@ -363,7 +373,7 @@ Linux system running skarnet.org packages; of course, only the service definition set has been kept, and private information has been removed, so it won't work out-of-the-box without the proper specific files, -notably configuration in /etc/ - but nevertheless, you can browse the +notably configuration in /etc - but nevertheless, you can browse the source and understand what it does, and adapt it to your own needs. It will compile as is with s6-rc-compile, and you can examine the -- cgit v1.3.1