Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Allow multiple users to update websites on OS X Server OS X Server
If you have a webpage hosted on OS X Server, you may want multiple people to have access to the front page (/Library/WebServer/Documents/) for updates. It takes a little bit of messing around, but it's all relatively easy; here's how (make sure you're an Admin before doing any of this):
  1. Open the Workgroup Manager.
  2. Create a New User who you want to have access to the front page (Command-Shift-N).
  3. Name the user. You can give them a local home directory (or a network, or more advanced, doesn't matter) but it's not necessary. In this example, the user will be refered to as Web1. Click "Save."
  4. Switch to the Groups tab.
  5. Create a new Group (Command-Shift-N). In this example, the group will be refered to as Webmasters.
  6. Add Web1 to Webmasters, then click "Save."
  7. Click on the "Sharing" icon at the top of the window.
  8. Click on the "All" tab on the left.
  9. Navigate to the following: /[your-drive]/Library/WebServer/Documents.
  10. With "WebServer" as the last highlighted folder, click on "Users and Groups."
  11. Select the "Groups" tab from the Pop up window, then change the Domain to "Netinfo/root"
  12. Select the webmasters group and drag to the "Group:" setting in the main window. IMPORTANT: do not change the Owner from root unless you know what you're doing
  13. Click the "Share this item and it's contents" check box so that it is checked and then click "Save."
Now when the user Web1 logs in, they should have access to the "/Library/WebServer/Documents/" folder and be able to modify all the files therein. This process can also be used for any of the other folders on the system. Once the folder is a "Share Point," users will have the ability to manipulate the contents. For multiple users, repeat steps 2, 3 and 6.

To revert the status of the "/Library/Webserver/Documents/" folder follow steps 7-12 and replace webmaster with the the group admin, then deselect "Share this item and it's contents."

[Editor's note: I have not tested this hint myself.]
    •    
  • Currently 2.29 / 5
  You rated: 4 / 5 (7 votes cast)
 
[4,101 views]  

Allow multiple users to update websites on OS X Server | 2 comments | Create New Account
Click here to return to the 'Allow multiple users to update websites on OS X Server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Works Great!
Authored by: scottboms on Dec 10, '02 12:21:54PM

Thanks for the great tip! Works like a charm for me. If you go in further into the options in the Workgroup Manager, you can also give a custom name to the mount as it will appear in the Finder.



[ Reply to This | # ]
Works Great!
Authored by: eharperink on May 28, '05 05:51:51PM

I agree ! I haven't tried out the new hint either, but it looks promising. Especially when reading the part:

Now when the user Web1 logs in, they should have access to the "/Library/WebServer/Documents/" folder and be able to modify all the files therein. This process can also be used for any of the other folders on the system. Once the folder is a "Share Point," users will have the ability to manipulate the contents. For multiple users, repeat steps 2, 3 and 6.

What I want to do is to give a user access to a shared Calendar to which appointments may be added. So I plan to give my user access to a calendar on the webserver. I understand that changed calendars in the Open Directory (OpenLDAP v3 in my Mac OS X 10.3 system) are sent round to registered users as a replica. In a number of weeks we will upgrade to 10.4 .
Any type of document could be made accessible to users.
Can this system also handle the storage of pictures in an Open Directory? I would like use the Open Directory as a document imaging system. All the accounting documents could be stored here as well.

If can get this really working for our company we can all have shared calendars, documents and accounting stuff stored in the Open Directory. This looks like a solution to the data sharing problem and an answer to my question. In the company we have Windows, Apple as well as Linux machines. I am going to look further into this in the office on Monday (after my morning coffee of course :-))) ).

Erik






[ Reply to This | # ]