Forum Replies Created

Viewing 15 posts - 16 through 30 (of 140 total)
  • Author
    Posts
  • in reply to: My journey through InstaDMG #379777
    Rusty Myers
    Participant

    bw38,

    Check this out, it may help explain first boot packages and the bits behind them:

    http://osxdeployment.com/wiki/SysAdminVideoSeries

    Rusty Myers
    Participant

    nobrainer, there is a postflight: http://pastie.org/1214255

    Installers like this annoy me. The installer drops all the files into some directory, probably tmp, I didn’t check. Then the postflight script checks for any existence of previous files, and deletes them if they are there. Then it moves the rest of the files, sets the correct permissions and links one of the files into /usr/libexec.

    What does Composer find when you run it? It should find 5 files:

    Permissions Owner:Group Path
    drwxr-xr-x _lp:wheel /var/spool/ksmbprintd
    -rwxr–r– root:admin /Library/LaunchAgents/com.deploystudio.ksmbprintd.plist
    drwxr-xr-x root:wheel /usr/local/bin/ksmbprintd
    drwxr-xr-x root:wheel /usr/local/bin/ksmbprintspool
    drwxr-xr-x root:wheel /usr/local/bin/smbclient
    lrwxr-xr-x root:wheel /usr/libexec/cups/backend/ksmb

    If Composer doesn’t find them, try dragging them into the Composer window and it should create a new project with those as the installer files.

    in reply to: adding exceptions to the Firewall #379588
    Rusty Myers
    Participant

    OK, I’ve not got much experience with it, as you could probably tell. =)

    If it’s a text file, I like to manipulate them with perl:

    Replace abc with def:
    perl -i~ -pe ‘s/abc/def/g’ filename

    If its a plist, which I think it is (not sure, is it the /Library/Preferences/com.apple.alf.plist?)

    Then I would try to use PlistBuddy or defaults to add additional exceptions.

    Hope that helps!

    in reply to: adding exceptions to the Firewall #379586
    Rusty Myers
    Participant

    Your asking if there is a script in the package? If it’s not a flat package, you should be able to open it up and modify the postflight script.

    in reply to: Screen saver #379582
    Rusty Myers
    Participant

    Have you seen this page:

    MCX vs the screensaver (and Leopard!)

    The content is for MCX, but some of the terminal commands are there and it will tell you what other plists need to be there for it to work.

    And this page, #15:
    http://www.macosxtips.co.uk/index_files/terminal-commands-for-hidden-settings-in-snow-leopard.html

    I’ve been doing this through MCX.

    Good luck!

    in reply to: Office 2011 – Here goes! #379551
    Rusty Myers
    Participant
    in reply to: Server Software Rollout #379467
    Rusty Myers
    Participant

    I’m afraid this is a question that is too broad to effectively answer in one post, but this is what I can say:

    There are a lot of different tools and methods to deploy software to OS X clients. JAMF’s Casper Suite has the ability to deploy packaged software to clients, as does BigFix, Absolute Manage (LanRev). I can also think of Apple’s Remote Desktop, Radmind, Munki, DeployStudio, command line, etc….

    As for serials and deploying them through packages, again this is a broad question. For most software applications, you are able to package them with the license file. Some software doesn’t like to share it’s license. Depending on your software, you may have a difficult time deploying it.

    Start to look for network or site licenses when looking at deploying a product, especially if the license has to be linked to a certain machine (Studiocode, Boardmaker, MacDicate, etc.). If you get heavy into sharing licenses, Sassafras KeyServer does a great job at managing the licenses.

    Hope this helps, perhaps a more specific question would be helpful to further the discussion.

    Rusty

    in reply to: Another hour, another question – AD integration #379457
    Rusty Myers
    Participant

    Try using sudo. You not restricting who can log in via system preferences, are you?

    in reply to: Only three out of four Launch Daemons run #379089
    Rusty Myers
    Participant

    I have all my launchd items call a script with a shell:
    Does that help?
    [code]

    Disabled

    Label
    com.stupski.ActivateMCX
    ProgramArguments

    /bin/bash
    /Applications/Utilities/Scripts/ActivateMCX.sh

    RunAtLoad
    [/code]

    [QUOTE][u]Quote by: jasonkstupski[/u][p]Hey all,

    Here’s my plist and shell script file. Any help would be so appreciated!!

    [code]

    Disabled

    Label
    com.stupski.ActivateMCX
    ProgramArguments

    /Applications/Utilities/Scripts/ActivateMCX.sh

    RunAtLoad
    [/code]
    [/QUOTE]

    in reply to: createUser.pkg & ARD #378967
    Rusty Myers
    Participant

    Hey Steven

    I would create a launchd item and script that would run your ARD settings during first boot of your machines. That way you would know its being set right. You can do as you suggest as well and just use ARD to set the clients prefs, but I personally don’t like having to trust ARD for that kinda thing. I’d rather do it once and let it fix itself. Sorry we couldn’t get it to work via InstaDMG build train, perhaps someone else has a fix for it?

    in reply to: createUser.pkg & ARD #378950
    Rusty Myers
    Participant

    Sorry, should have been more clear on that. I was trying these on my laptop, already running 10.6.4. From the terminal, when I ran the commands, it didn’t take the first few times I ran it. Although, I had the system prefs window open the second time I ran it, so It probably worked but didn’t show me the changes. When I was running this command in InstaDMG, I was doing it with a separate package that ran after createUser.

    Not sure what the ordering of the scripts changes. I suggest experimenting with that. Good luck.

    in reply to: createUser.pkg & ARD #378940
    Rusty Myers
    Participant

    Hey Steven,

    This seems to still work:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers
    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users “admin” -privs -all -restart -agent

    However, didn’t respect my wishes the first time I ran it. I ran:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers

    A couple more times and eventually it took…strange for sure!

    Rusty

    in reply to: createUser how do I run it?? #378937
    Rusty Myers
    Participant

    How are you running InstaDMG? Do you run the –process flag from InstaUp2Date or do you just run ./instadmg.bash? If your running InstaUp2Date with the process flag, you need to add the createUser.pkg to the catalog that you call. If your running just the instadmg.bash script, you need to add it into the custom packages folder under a numbered folder (I think).

    Check this thread, it has some mentioned of guides and videos that may help you.
    https://www.afp548.com/forum/viewtopic.php?showtopic=26912

    in reply to: How to change languages from English to other #378824
    Rusty Myers
    Participant

    I think this setting is changed in system prefs. I would start up FSeventer and make the change to a live system. You should be able to identify what is changed, and how to change the language of the system. Once you know what needs changed it’s much easier to find the solution.

    in reply to: Create home directories #378823
    Rusty Myers
    Participant

    I would try to copy the home folder manually:

    % sudo ditto /System/Library/User\ Template/English.lproj /Users/newuser
    % sudo chown -R newuser:staff /Users/newuser

    Obviously, add the $3, username (or variable), and test.

    Not sure if it will work! Good luck.

Viewing 15 posts - 16 through 30 (of 140 total)