Apple Packagemaker help

Discussion in 'Mac Programming' started by Roric, Sep 20, 2007.

  1. Roric macrumors regular

    Joined:
    Sep 29, 2005
    Location:
    WI
    #1
    I work at a university where our admin password was released inadvertently. I now need to change that password on over 100 machines ASAP. They are all managed through ARD3 using a local admin account. That is the account that needs to be changed. I could push an Unix command to change the password, but that requires all the machines to be on when I send the command. Not likely to happen.

    I see that I can schedule a .pkg install and whenever a machine comes online, it will get installed. This should take care of the problem for me..BUT I cannot get the installer to work correctly for me.

    I have a script that works when I run it from a terminal window, but not when I put it in a package as a pre-install script.

    Anyone have any ideas how to do this?

    Thanks,
    -Mike
     
  2. GeeYouEye macrumors 68000

    GeeYouEye

    Joined:
    Dec 9, 2001
    Location:
    State of Denial
    #2
    Did you make sure that you renamed the script properly, and are the permissions of the package set properly?
     
  3. Les Kern macrumors 68040

    Les Kern

    Joined:
    Apr 26, 2002
    Location:
    Alabama
    #3
    Sometimes looking at the problem from a different angle helps, and sometimes technlogy blurs the picture.
    One time a while back I had inadvertantly forgot to turn on AT on imaged machines... 400 of them. All that was required was a logon as admin, and one button click to turn it on. I got an assistant and we did an assembly line... she logged on to machine after machine, I made the change then used the keyboard to shut down. It took about 5-10 seconds per machine for me. So if you do the math there you'll see that the time it would take changing the password on 100 machines was worth it knowing that an ADMIN password was in the wild. Scripts are well and good, but sometimes grunt work is indicated.
     

Share This Page