Scott - I didn't know about dscl either, but it seems to work here on 10.4.11 as well.

Best,

Mark

On 19 Dec 2008, at 22:01, Scott Morrow wrote:

Hello Gordy,
Thanks for that. I was (am!) ignorant of dscl
I'll continue looking for something (additional) that might work in earlier versions.

-Scott

On Dec 19, 2008, at 5:14 AM, Gordon Tillman wrote:

Scott in 10.5 that information is stored in Directory Services. The dscl command is used to interact with that. For example:

$ dscl . -read /Users/gordy RealName
RealName:
Gordon Tillman

(that's me!)

--gordy


On Dec 19, 2008, at 06:07, Scott Morrow wrote:


I'm trying to get the user's name under OSX. I can get the environment variable

$USER

but this only returns the user's short name. Any ideas for getting the full name?
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to