BOINC tools for Macintosh system administrators

Several tools are available for Macintosh System Administrators, mostly in the form of command-line shell scripts to be run from the Terminal application. Please read the comments in each script for descriptions and directions.

Running BOINC as a daemon or system service

Make_BOINC_Service.sh is a command-line shell script to set up the BOINC Client to run as a daemon at system startup. It can be used with either full GUI installations (BOINC Manager) or the stand-alone BOINC Client.

When run as a daemon:

  • The BOINC Client always runs even when no user is logged in. However, it still observes the Activity settings as set by the Manager or the boinc_cmd application (Run always, Run based on preferences, Suspend, Snooze; Network activity always available, Network activity based on preferences, Network activity suspended.)
  • Quitting the BOINC Manager will not cause the Client to exit.
  • Application graphics (including screen saver graphics) are not available when the Client runs as a daemon.
  • The following apply to the full GUI installation (BOINC Manager):
    • You may need version 5.5.9 or later to work properly as a daemon.
    • Normally, BOINC Manager starts up automatically when each user logs in. You can change this as explained below.
    • If you wish to block some users from using BOINC Manager, move it out of the /Applications directory into a directory with restricted permissions. Due to the Manager's internal permissions, you can move it but cannot copy it. See the secure BOINC Client for more information.

Disabling auto-launch of BOINC Manager

By default, BOINC Manager starts up automatically when each user logs in. You can override this behavior by removing the BOINC Manager Login Item for selected users, either via the Accounts System Preferences panel or by creating a nologinitems.txt file in the BOINC Data folder. This should be a plain text file containing a list of users to be excluded from auto-launch, one user name per line.

An easy way to create this file is to type the following in terminal, then edit the file to remove unwanted entries:

ls /Users > "/Library/Application Support/BOINC Data/nologinitems.txt"

After creating this file, run the installer. The installer will delete the Login Item for each user listed in the file. Entries which are not names of actual users are ignored (e.g., Shared, Deleted Users.)

Using BOINC's security features with the stand-alone BOINC Client

Beginning with version 5.5.4, the Macintosh BOINC Manager Installer implements additional security to protect your computer data from potential theft or accidental or malicious damage by limiting BOINC projects' access to your system and data, as described in The Secure BOINC Client. We recommend that stand-alone BOINC Client installations also take advantage of this protection. You can do this by running the Mac_SA_Secure.sh command-line shell script after installing the stand-alone Client, and again any time you upgrade the Client.

Although we don't recommend it, you can remove these protections by running the Mac_SA_Insecure.sh script.

Debugging

See these pages for general debugging techniques and interpreting crash dumps and backtraces.


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.