> i'm trying to find automatically wether a machine is installed with OS X
> classic or as a server.
Why?
Ben
--
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
In order to know the information.
Do you know how to do ?
Very funny.
In principle, any Mac OS X client installation may be fitted with
server software. It already comes with Apache, SSH, FTP, and file
service. Most of the rest of MOSXS is free software. The value-add in
MOSXS is in the administration tools, and in having known-stable
installations of the server software.
Knowing what you are trying to accomplish would make it possible to
give you the answer you need. I suspect you are trying to enforce some
kind of license on your product. Hiding that doesn't protect you from
as much as you hope.
- F
> Ben Artin a écrit :
>> In article <469f2907$0$18470$426a...@news.free.fr>, Thomas
>> <tho...@news.fr> wrote:
>>
>>> i'm trying to find automatically wether a machine is installed with
>>> OS X classic or as a server.
>>
>> Why?
>>
>
> In order to know the information.
Duh, no kidding. Why do you want to know the information? What do you intend
to do with it?
The reason that's important is, the only effective difference in Server is
the addition of some management applications and utilities. But, those can
be installed on "vanilla" Mac OS X as well, or removed from Server. For that
reason, a far more effective approach would be to check for the service and/
or utility you need, instead of making (potentially faulty) assumptions
based on the OS version.
Note that if you'd simply answered the "why" question to begin with, or
better still, given the relevant information in your original question, you
may well have received an answer by now, instead of requests for more info.
Have a look at:
<http://www.catb.org/~esr/faqs/smart-questions.html>
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
If by classic you mean System 9 or earlier, that's a completely
different operating system. If you mean server vs nonserver
version of OS 10, the only real difference is that server has
a GUI in front of the various server daemons. You can check for
the existence of the server application directories.
--
SM Ryan http://www.rawbw.com/~wyrmwif/
There are subtler ways of badgering a witness.
Thanks for your answers.
This is only a part of the informations that are given back to a
computer park management system.
This software was at first only working on windows and the information
of type of OS (workstation/server) is given back.
I'm just trying to give back all the same informations from the macs.
That's why i answered only "to know the information".
Thomas.
Thanks, i will certainly do that.
Do you have the exact name of this directory ?
I have no OS X servers.
Thomas.
> Do you have the exact name of this directory ?
> I have no OS X servers.
Mac OS X Server should contain a file at
/System/Library/CoreServices/ServerVersion.plist identifying the version
of the operating system. I don't know if this is true in all versions
of Mac OS X Server but it's true of recent releases.
--
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/
> Thanks for your answers.
> This is only a part of the informations that are given back to a
> computer park management system.
> This software was at first only working on windows and the information
> of type of OS (workstation/server) is given back.
> I'm just trying to give back all the same informations from the macs.
> That's why i answered only "to know the information".
> Thomas.
In that case, I would take a look at "system_profiler -xml". It probably
tells you all you want to know.
Reinder
Thanks a lot for this information, it seems to be the most simple to check.
Thomas.
> On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:
>
> > This is only a part of the informations that are given back to a
> > computer park management system.
>
> What is a "computer park management system?"
Perhaps it has something to do with using computers in the management of
parks?
Or maybe it has something to do with a theme park where computers go to
play while their people are on vacation. A sort of a high-tech dog
kennel.
> This is only a part of the informations that are given back to a
> computer park management system.
What is a "computer park management system?" Is this the reason
there's about one question a week along the lines of "How do I find all
the installed apps, memory, registry entries, and color of MACs on
network?"
-- Chris
Maybe it's something like the system in the Toyota Prius (and probably
others) that automatically parks the car for you ?
Paul
Sorry, it's only a tool to manage things on users desktops, that give
informations back to manager about computer.
It works on Windows, and i have to make it work on OS X.
It's the first question i post, because this is the only problem on wich
i didn't find any answer.
Thomas.
> Paul Russell a écrit :
> > Tom Harrington wrote:
> >> In article <2007072411434216807-cmh@maccom>, Chris Hanson
> >> <c...@mac.com> wrote:
> >>
> >>> On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:
> >>>
> >>>> This is only a part of the informations that are given back to a
> >>>> computer park management system.
> >>> What is a "computer park management system?"
> >>
> >> Perhaps it has something to do with using computers in the management
> >> of parks?
> >>
> >> Or maybe it has something to do with a theme park where computers go
> >> to play while their people are on vacation. A sort of a high-tech dog
> >> kennel.
> >>
> >
> > Maybe it's something like the system in the Toyota Prius (and probably
> > others) that automatically parks the car for you ?
>
> Sorry, it's only a tool to manage things on users desktops, that give
> informations back to manager about computer.
> It works on Windows, and i have to make it work on OS X.
> It's the first question i post, because this is the only problem on wich
> i didn't find any answer.
Is this for users and managers of parks? Are they theme parks, national
parks, or skate parks? Are they parking their cars?
Sorry for bad traduction (i'm french).
It will process all company's computers (i was wrong with words
"computer park").