Allow multiple users to update websites on OS X Server
Dec 10, '02 08:13:53AM
Contributed by: shurakai
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):
- Open the Workgroup Manager.
- Create a New User who you want to have access to the front page (Command-Shift-N).
- 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."
- Switch to the Groups tab.
- Create a new Group (Command-Shift-N). In this example, the group will be refered to as Webmasters.
- Add Web1 to Webmasters, then click "Save."
- Click on the "Sharing" icon at the top of the window.
- Click on the "All" tab on the left.
- Navigate to the following: /[your-drive]/Library/WebServer/Documents.
- With "WebServer" as the last highlighted folder, click on "Users and Groups."
- Select the "Groups" tab from the Pop up window, then change the Domain to "Netinfo/root"
- 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
- 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.]
Comments (2)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20021210051353192