AHH! Thank you all! This has helped me tremendously!
Jerry
___________________
Jerry Fess
Desktop Support and Administration
University Relations
Ph: (612) 624-2224
Fax: (612) 624-6369
<umn.jpg>
Read it and reap http://www.umn.edu/umnnews
On Mar 29, 2005, at 11:42 AM, Jeramey Valley wrote:
At 11:31 AM -0600 3/29/05, Jerry Fess wrote:
So, how can I find out the serial number of the computer via
Unixcommand?
Here's the postflight script I run in a package sent to all our
machines. This puts the serial # in Computer Info #1 data on all
machines. Thanks to this list (I believe) from where the original
script came from.
You should be able to use just a portion of the script to get the s/n.
BTW - so far reporting works great here.
#! /bin/tcsh
set hostname=`hostname`
set serial=`/usr/sbin/system_profiler SPHardwareDataType | awk
'/Serial Number:/ { print $3 }'`
/usr/bin/touch /library/mps/serialNum.txt
/bin/echo $hostname > /library/mps/serialNum.txt
/bin/echo $serial >> /library/mps/serialNum.txt
/usr/bin/defaults write /Library/Preferences/com.apple.remoteDesktop
Text1 $serial
/bin/chmod 775 /Library/Preferences/com.apple.remoteDesktop.plist
'/System/Library/CoreServices/ARD
Agent.app/Contents/Resources/kickstart' -restart -agent
--
Regards,
Jeramey Valley
email@hidden
Network Administrator
H. H. Dow High School
Midland Public Schools
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/
email@hidden
This email sent to email@hidden