From a007ad51cfc3bef296fe94bfe4139a62f6840d4f Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 15 Apr 2009 08:55:30 +0000 Subject: [PATCH] Update Sandbox docs for running default ss as user and group boinc_project svn path=/trunk/boinc/; revision=17816 --- doc/sandbox.php | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/doc/sandbox.php b/doc/sandbox.php index 7aabd50c25..43d174cc01 100644 --- a/doc/sandbox.php +++ b/doc/sandbox.php @@ -202,38 +202,32 @@ its own embedded helper application gfx_switcher which it uses to launch and kill the graphics applications. Like the switcher application, gfx_switcher runs setuid root and immediately changes its real and effective user ID and -group ID to either boinc_project or boinc_master +group ID to boinc_project.
  • Starting with BOINC version 6.7, a default screenaver graphics application is provided with BOINC. The screensaver (now more properly called the screensaver coordinator) runs the default graphics alternating with science graphics applications according to a schedule set by the data file ss-config.xml. The default graphics are run also when no science graphics are available, such as when BOINC is suspended. The default graphics executable is run as user and group -boinc_master. This gives it access to the RPC password file and so to all -GUI RPCs, but allows the screensaver coordinator to kill it (via gfx_switcher) - when appropriate. +boinc_project.
  • The BOINC screensaver's use of setuid root for the gfx_switcher application is safe because:
  • BOINC Client sets its umask to 006 to hide account keys from unauthorized users. This means that third-party add-ons cannot read BOINC data files; they @@ -251,8 +245,7 @@ to simplify maintenance and administration.
  • The RPC password file gui_rpc_auth.cfg is accessible only by user and group boinc_master. In other words, only BOINC Manager, BOINC Client and authorized administrative -users can read or modify it, limiting access to most BOINC RPC functions. As -of BOINC version 6.7, the default screenaver graphics application also can read it. +users can read or modify it, limiting access to most BOINC RPC functions.
  • BOINC Manager restricts certain functions to authorized users: Attach to Project, Detach from Project, Reset Project, Abort Task, Abort Transfer, Update Account Manager.