title: Using "sudo" to elevate privilege (temporarily) when writing to /usr/shared/
body: <p>I am developing an OSX application for school where multiple users of the same mac will able to launch the program based on shared configuration (i.e. database connection info).
  By design, the normal user without administrative privilege should not be allowed to modify the configuration. </p>
  
  <p>Based on unix convention, I am storing the configuration file under /usr/shared/, but this caused another problem:
  - Even when logged in as administrator, application will not able to write to the location above. Users will have to launch the application with elevated privilege (using sudo) if they need to make changes to the configuration file.</p>
  
  <p>My question is, whether using "sudo" to write to restricted area is a common practice in mac osx ?</p>