Re: [PATCH] Allow rrdached to set the group permissions of the Unix socket for to arbitrary groups
Alex Bennee <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
2010/1/25 Tobias Oetiker <[email protected]>: > the patch looks about right to me ... if you throw in a patch for > the documentation too, I'll be glad to integrate it ... Please find a documentation patch attached. -- Alex, homepage: http://www.bennee.com/~alex/ http://www.half-llama.co.uk _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
0001-Document-the-existence-of-the-s-id-group-command-lin.patch
(text/x-patch, 1.4 KB)
From 76b0b9951b7e376b03b4133d07c1bf58b56e4fc8 Mon Sep 17 00:00:00 2001 From: Alex Bennee <[email protected]> Date: Tue, 26 Jan 2010 11:03:57 +0000 Subject: [PATCH] Document the existence of the -s <id|group> command line option. --- doc/rrdcached.pod | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod index 0fa12ca..22a74e9 100644 --- a/doc/rrdcached.pod +++ b/doc/rrdcached.pod @@ -9,6 +9,7 @@ rrdcached - Data caching daemon for rrdtool B<rrdcached> [B<-P>E<nbsp>I<permissions>] [B<-l>E<nbsp>I<address>] +[B<-s>E<nbsp>I<group>] [B<-w>E<nbsp>I<timeout>] [B<-z>E<nbsp>I<delay>] [B<-f>E<nbsp>I<timeout>] @@ -65,6 +66,15 @@ domain socket B<must> start with a slash in the second case! If the B<-l> option is not specified the default address, C<unix:/tmp/rrdcached.sock>, will be used. +=item B<-s> I<id> + +Set the group permissions of the UNIX domain socket. The option accepts either +a numeric group id or group name. That group will then have both read and write +permissions to the socket and therefore able to send commands to the daemon. This +may be useful in cases where you cannot easily run all RRD processes with the same +user privileges (e.g. graph generating CGI scripts that typically run in the +permission context of the web server). + =item B<-P> I<command>[,I<command>[,...]] Specifies the commands accepted via a network socket. This allows -- 1.6.6.1