?
Solved

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

Posted on 2011-03-09
3
Medium Priority
?
1,146 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 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Even though Mac OS X has been around for many years now, certain well-liked and eminently useful software apps never made the jump from Mac OS 9 to Mac OS X. Ever used Word Perfect for Mac? Version 3.5 was the last version, built for Mac OS 9. Who c…
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 …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

840 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