Solved

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

Posted on 2011-03-09
3
997 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now