Sunday, November 19, 2006

Creating Users and Groups for a BOINC Server

The BOINC Groups and permissions page covers most of what you need to know in order to set this up. But, I present this from the perspective of running a CentOS-4 server using graphical tools and performing these operations before the project is actually created.

Run Applications-->System Settings-->Users and Groups. Start by adding a user and group, both named "boinc". The following steps will create both at one time.
  1. Click Add User.
  2. Enter a user name, I used "boinc".
  3. Enter a "Full Name", try "BOINC Server".
  4. Enter a password and confirm it.
  5. Set Login Shell to /sbin/nologin.
  6. Uncheck Create home directory.
  7. Check Create a private group for the user.
  8. Click OK.
Now lets add the "apache" user to the "boinc" group.
  1. Click the Groups tab.
  2. Double-click the "boinc" group.
  3. Click the Group Users tab.
  4. Check the box next to "apache".
  5. Click OK.
That's all there is to it. Now you have a boinc user, a boinc group and apache has access to all files that belong to the boinc group.

No comments: