Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Unless you are scripting...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unless you are scripting...
Authored by: maclaw on Mar 11, '02 09:41:35PM

The article doesn't make any mention of the author's reason for tracking down this preference file, but if you are simply trying to change the name shown in the login panel, wouldn't it be easier to go to the Sharing Preference Pane and change the entry in the Computer Name field? Of course, if you are scripting some process that requires extracting the computer name automatically than I guess it is useful to know the location where this data is stored.

Forgive me if I have merely stated the obvious. I just wanted to make sure folks weren't left with the impression that manually accessing an xml document was the easiest way to change the name that appears in your login panel.



[ Reply to This | # ]
Unless you are scripting...
Authored by: outofcontrol on Mar 11, '02 10:02:57PM

I realize that the name can be easily changed in the System Preferences, and should have mentioned it as a side note. But, as you state, it is an interesting hint to show where to find the name in the system for use in scripts.



[ Reply to This | # ]
Unless you are scripting...
Authored by: rebug on Mar 12, '02 01:30:38AM

Scripting or working remotely. If all you've got is an ssh connection to a mac, this is the only way to do it.



[ Reply to This | # ]