Solved

/Library/Preferences and /Users/<username>/Library/Preferences

Posted on 2011-03-09
3
1,039 Views
Last Modified: 2012-05-11
what is difference between

/Library/Preferences

and

/Users/<username>/Library/Preferences


0
Comment
Question by:aashee
  • 2
3 Comments
 
LVL 8

Expert Comment

by:Mac2010
ID: 35085185
> /Users/<username>/Library/Preferences (or ~/Library/Preferences)

This is where preferences are stored for each individual user account, that apply to that individual account only

> /Library/Preferences

Here are preferences stored, that apply to all user accounts

Please let us know if you need more clarification on this!
0
 

Author Comment

by:aashee
ID: 35085302
actually i want to put a script that will run when every user logs in .
and it will delete .ds_store and disable it for network.
please help, how is it the best way to achive
0
 
LVL 8

Accepted Solution

by:
Mac2010 earned 500 total points
ID: 35085422
It's quite some time ago I've been doing this kind of thing, in everyday life I rarely need it. If I remember correct, you need to put files in the "LaunchAgents" and Preferences for that. And create those with Plist Editor (part of Apple's developer tools). The 'launchd' process runs the scripts.

Login scripts are covered in this book, in case you're looking for a manual http://www.amazon.com/Apple-Training-Advanced-System-Administration/dp/032156314X
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question