I am trying to figure out if this would be fairly easy and robust and how to do it…Unfortunately I’m a bit (as in very) green to applescript and shell scripting.
I have a number of macs running 10.4.8 and authenticating against Active Directory…no os x servers, but hopefully soon. Whenever a user logs into a computer, it creates their mobile home directory. The issue is that I have to go to every machine and setup extensis suitcase for them since it requires that they have the proper username.
I can get their username from the command line using whoami. I can also write the proper username with the command
defaults write com.extensis.Suitcase “user name” my_user. I also have the font server address and status (active or not) but those are static values that should be easy to set once I have a format to follow.
What I would like to do is first populate the preference file with their username at login using the results of the whoami command. If anyone would be willing to help out, I’d love to get started on this!