Solved

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

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

/Library/Preferences

and

/Users/<username>/Library/Preferences


0
Comment
Question by:aashee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Title # Comments Views Activity
Apple iMac 4 109
OS X Mail will not connect to Microsoft Hosted Exchange 7 77
iMac cannot 'remember' Wifi connection after restarting. 3 74
iMac - iNeed advice :) 4 55
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

734 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