set a safari homepage for all users

I would like to set a Homepage in Safari for all users.  I would  like Safari to open to our school district homepage for whoever logs on.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Thomas GrassiSystems AdministratorCommented:
You need to write a script for all the users

See this link here that might help
This may be simpler.
If you have existing users you can use the defaults command to set it for each user.

In each user account, you can just use the defaults command to change it.
defaults write HomePage

If you have multip users.
for i in List_Of_Users do;   "su - $i defaults write HomePage"; done

Open in new window

If you don't have any users yet, you can set the defaults system wide first.
sudo defaults write /Library/Preferences/ HomePage

Every user that starts Safari will get that as the initial home page, but they can still change it later.

If you don't want users to change their settings, you should do both of the above then make the user's Safari Preferences file read only or owned by root

chmod -w  ~USER/Library/Preferences/
sudo chown root ~USER/Library/Preferences/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.