Home Forums Software InstaDMG Can the addition of Connect to Server ‘shortcuts’ be scripted?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #376001
    mgb123
    Participant

    I have client machines that need to have a number of servers added to their Connect to Server list. Is it possible to script entries into that menu?

    #376002
    mgb123
    Participant

    I’ve found the actual shortcuts in the ~/Library/Favorites/ directory. Is it possible to simply package that and run the package on client machines? Not to sound stupid, but everything that I’ve done involved making system wide packages rather than user specific packages.

    Does anyone have any ideas on the best way to implement something like this?

    My main concern is that if I package the shortcut that it might insert my username automagically and mess with single sign on.

    #376004
    Rusty Myers
    Participant

    You can install it into the UserTemplate directory so that when a new user is created, it will already be in the new user’s home folder.

    /System/Library/UserTemplate/English.lproj/Library/Favorites/

    Or create a script to copy it to the home folder.
    Rusty

    #376007
    mgb123
    Participant

    Dammit Rusty, you’re my hero!

    😛 😮

    #376008
    mgb123
    Participant

    Rusty, I’m creating a snapshot pgk of those files in the user template.

    What do you think-will it work if I include it in my InstaDMG build?

    Place your bets now…

    #376034
    Patrick Fergus
    Participant

    Putting things in ~/ can be a bit inflexible, especially if you can’t address a user’s ~/Library/Favorites folder easily (the User Template is only copied the first time a user logs in–what if you ever want to make changes?). Depending on your facility, if you can push files/pkgs to computers post-build you may want to consider using a folder that isn’t located in the user’s home to contain all your network favorites. For bonus points, put that folder in the Dock via MCX. It’ll require some user reeducation, but it might be more useful if your situation allows it.

    However, if you can push files/pkgs to computers, you probably can figure out how to get the files into every user’s home. Just providing an alternate option.

    – Patrick

    #376039
    Rusty Myers
    Participant

    Puppet may help to maintain the correct favorites.
    http://reductivelabs.com/

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed