[macosx-unix] mac serial number...

Brian Redman ber at easthouston.org
Mon Dec 3 20:07:40 EST 2007


On Dec 3, 2007, at 6:25 PM, George Georgalis wrote:

> Hi all!
>
> Is there a way to determine the serial number for
> a Jaguar/panther mac from the command line? I'd
> like to write a script to mail mac addresses, host
> names and serial numbers from the MacBooks at our
> office. I guess finding the full names and login
> names of system users would be good to collect too.

If we can assume the system user is uid 501 then:

$ nicl . -search /users 0 1 uid 501

will tell you the "name" and "realname" on 10.3  Don't know about 10.2.

	ber



More information about the macosx-unix mailing list