[CalendarServer-users] Setup for small group/family

Michael J. Pawlowsky mikep at mikeathome.net
Mon Apr 7 08:56:45 PDT 2008


Scott Buchanan wrote:
> Hi,
>
> assuming your using xml for directory service would you mind 
> publishing an example of (sanatized of course) how you set up super 
> and regular users?  I haven't been able to understand how this is 
> established and what part the sudoers.plist file plays.  I have 
> everything else working just fine.
>



I should have said "AdminPricipals". It is in caldavd.plist
I have re-arranged all my files location to be more in line with a 
Fedora distribution. I might even create an rpm out of it at one point.
The next thing I need to do now is write a init.d startup script for 
caldavd. Unless someone else already has one they can post.


  <!-- Principals with "DAV:all" access (relative URLs) -->
  <key>AdminPrincipals</key>
  <array>
    <string>/principals/__uids__/mikep/</string>
    <string>/principals/__uids__/kris/</string>
  </array>



And the accounts.xml looks like:
(The guid's really should be uuidgen's but since it is just for us 3, I 
think we will be ok. :)


<accounts realm="Family Calendar">

  <user>
    <uid>mikep</uid>
    <guid>mikep</guid>
    <password>xxxx</password>
    <name>Michael Pawlowsky</name>
    <cuaddr>mailto:mikep at xxxxxx.net</cuaddr>
  </user>

  <user>
    <uid>kris</uid>
    <guid>kris</guid>
    <password>xxxxxxx</password>
    <name>Christine Caron</name>
    <cuaddr>mailto:kris at xxxxxx.com</cuaddr>
  </user>

  <user>
    <uid>michelle</uid>
    <guid>michelle</guid>
    <password>xxxxxx</password>
    <name>Michelle Caron-Pawlowsky</name>
    <cuaddr>mailto:michelle at xxxxxx.com</cuaddr>
  </user>

  <group>
    <uid>family</uid>
    <guid>family</guid>
    <password>xxxxxx</password>
    <name>Family Group</name>
    <members>
      <member type="users">mikep</member>
      <member type="users">kris</member>
      <member type="users">michelle</member>
    </members>
  </group>





More information about the calendarserver-users mailing list