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


Click here to return to the 'Resetting permissions on multiple user folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Resetting permissions on multiple user folders
Authored by: Relliott930 on Sep 29, '10 01:48:55AM

Hi, i am relitively new to OS X server , I have set up a medium size network with 400 users (OS X 10.5) ,each with a network home directory. I used the finder to change some permissions on the Homedir folder and propagated them down. It made a mess of the home folder permissions and no one could log in. As we are on a live system I had to find a quick solution rather than going through each of the 400 users. So I used CHMOD to give access to all the home folders to everyone. Luckily the students have not found out they have access to each others folders yet.... . As i changed it in the finder, I am now also the owner of all the folders that i changed. Will this script work to change the (network) home folders permissions back to default? as my users are part of OD there are no users located in /Users on the server (apart from the administrator) I have no Idea where they are located, I would think in some catalog file somewhere.

HELP!!!!!

Thanks, Rob



[ Reply to This | # ]
Resetting permissions on multiple user folders
Authored by: agentx on Sep 29, '10 05:05:06AM

I would advise buying a copy of Passenger as a System Admin with this many users.
It does a lot of really cool stuff including resetting permissions on HomeDir to defaults.
You will need to do an export of your users, import into passenger batch permissions, change the Base Path to location of HomeDirs on your server ( you can find this out in Workgroup manager) and run.....It should sort your issues out....



[ Reply to This | # ]
Resetting permissions on multiple user folders
Authored by: Relliott930 on Sep 29, '10 06:21:00AM

Thanks for this, I actually have a trial copy of passenger already, I used it for importing the users but i didn't know it had this function. I'll try this ,

Thanks!



[ Reply to This | # ]