Please explain the usage of /etc directory and UNIX? Can we have comman setting defined for all users in this directory?
feedback
|
migrated from stackoverflow.com Oct 30 '09 at 23:38
This question came from our site for professional and enthusiast programmers.
|
Here's the "official" answer: http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION It's similar to the HKEY_LOCAL_MACHINE hive of the Windows registry: It contains system-wide settings for software (as opposed to per-user settings). | |||
|
feedback
|
|
| |||
|
feedback
|
|
| |||
|
feedback
|
|
Generally only root/wheel write access into /etc/ Common settings application wide, possible, but I still prefer applications to store their configurations in their own filesystem structure. We needn't muddy the filesystem by going about shoving non-system application configs in there, let us not repeat the registry ills. | |||
|
feedback
|
