On 12 December 2011 15:34, David Riley <fraveydank
at gmail.com> wrote:
On Dec 12, 2011, at 9:40 AM, Liam Proven wrote:
I suspect most Mac users barely know their
machines have a shell and
never, ever use it. If Ubuntu gets to that point as well, that will be
just fine - so long as people can do what they want and need to do.
Well yes, and that's the key, isn't it? ?I think the single most infuriating part
of Windows to me is that the system configuration isn't in human-readable text files,
it's in inscrutable key/value pairs in a giant global registry. ?It makes it
impossible to have any real kind of manual control over the operation of the system unless
you are a warlock. ?On Linux and OS X, you can almost always edit a text file somewhere
that will be vaguely understandable even if you've never seen it.
On Linux, yes - if you can find it and then if you can parse the
format, as there is no standard at all and it ranges from INI files
(as used by Samba) to early pre-Demotic hieroglyphs transcribed in
Minoan Linear A and then written in early Sumerian cuneiform (e.g.,
Sendmail.cf).
But OS X? If it's in a file it's probably XML but the chances are it's
in netinfo somewhere...
I'm running Mac OS X 10.6.8. In order to forware syslog to my Linux box
(centalized logging, don't you know), changing /etc/syslog.conf wasn't
enough. I had to locate a binary configuration file (it's under
/System/Library/LaunchDaemons/com.apple.syslogd.plist), decompile it using a
tool, change the options to syslogd, recompile it back to a binary file, and
restart the system.
I actually did that quite a while ago, but a few updates kept resetting
the /System/Library/LaunchDaemons/com.apple.syslogd.plist file and I had to
keep resetting it *back*. Apparently, Apple got the message and the past
two or three updates haven't nuked the settings.
-spc (It's just Unix enough to make it annoying ... )