Discovering Mac computers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2011 06:57 AM
If you have some experience with Discovery and OS-X (Apple) computers can you share any tips, hints, or gotchas?
We are beginning to gather data on this type of device and would appreciate any insights.
From the wiki I see the requirements are similar to Linux/Unix: allow SSH, have a username/password with "sudo" configured for a few basic commands like ifconfig, lsof, dmidecode.
Are there any Mac-specific commands that you have found informative for Discovery purposes?
cheers,
robin850
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2011 11:19 PM
I haven't come across any out here in the hinterlands but OSX really isn't enterprise deployed much...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2011 01:50 PM
I am not getting the last logged in username when we do a Discovery on a Mac running "Lion". Has anyone else run into this?
cheers,
robin850
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2011 04:35 PM
Robin,
Just had a user run the same command from the last user probe (last | grep -m 1 console) on Lion and got the exact same output on my 10.5 build (whatever name it is but not Lion) so trust it should work the same.. can you see if the output on your builds are different
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2011 08:28 AM
found the issue! it was probably failing on any Mac, not just the latest OS.
We had to add the SETENV line to the sudoers file. The probe was failing with "cannot preserve environment"
ALL=NOPASSWD:SETENV:/usr/sbin/lsof,/sbin/ifconfig,/usr/bin/who,/bin/ps,/usr/bin/last,/usr/sbin/system_profiler
works great now.
cheers,
robin850