Home Forums Software InstaDMG Loginhook Re: Loginhook

#380432
dead2sin
Participant

[QUOTE][u]Quote by: bango[/u][p]hi
i would like to use a loginhook that runs when the local admin logs in the first time (after the image has been deployed). the reason why i would want to use a loginhook is because in the .sh script i have has a line to call oascript (applescipt) to prompt the tech to assign a computer name, before the machine is bound to AD. if i use this .sh file as a firstboot script it fails to prompt the tech to assign a computer name because in the Console log is says that “untrusted apps are not allowed to connect to or launch windows server before login”.
my question is – how do i go about setting up this loginhook (that only runs once). i understand i need to put it in the loginwindow.plist – with the key called LoginHook. i just dont know how i would implement this in the image build process?
i dont want to place the .sh file somewhere on the image or or have run it from a network share – stopping the tech from viewing the “code”
any ideas would be great.
thanks[/p][/QUOTE]

Just curious, what are you deploying your images with?

Nate

Comments are closed