From: Jim K. <ji...@bg...> - 2013-12-13 20:26:44
|
It works but not until someone authenticates at the loginwindow. I actually was trying to do that exact thing on a scheduled basis … say 3am; however, I wasn’t able to get it to autologin into an account at that point to cause iHook to fire off. - If the machine is on at 3am, touch a file, move autologin files into place, reboot. ** If a machine is off, power it on (pmset). - Autologin to a local maintenance account to force iHook to run. - iHook executes (touched file is cleared), system updates, machine shuts down. The problem lies in the ** step. If the machine is off, I wasn’t able to get it to move the autlogin files into place and then do another reboot. Pmset seems limited to one time. Jim -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- James Kirkum, Jr. Server Administrator Information Technology Services Bowling Green State University Bowling Green, OH -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- On 12/13/13, 3:15 PM, "Kyle Crawford" <kc...@gm...<mailto:kc...@gm...>> wrote: This is what I mean: https://code.google.com/p/munki/source/browse/launchd/LaunchAgents/com.googlecode.munki.MunkiStatusLogout.plist Touch a file at logout, then ihook will run only if that file exists Then remove the file when you are done running your script Or does that not work with ihook? Kyle Sent from Mobile On Dec 13, 2013, at 1:56 PM, Jim Kirkum <ji...@bg...<mailto:ji...@bg...>> wrote: That has actually my fallback idea, Kyle. I tried implementing a combination of using pmset to power up and then run a radmind session; however, iHook won’t execute until someone authenticates. Is that how it has functioned previously? I am trying to avoid having to force an end user to wait through an update session if it can be avoided; hence; the reason we ran at logout for all of these years. I am also not totally opposed to there being no GUI at logout; however, if a machine fails an update, it sits at the grey screen until someone strikes the enter key or iHook gives up. Is there a way to tell iHook to continue instead of popping open the drawer at failure? This would not be horrible, as I can tell from the radmind server when a machine fails to complete an update. Thanks, Jim -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- James Kirkum, Jr. Server Administrator Information Technology Services Bowling Green State University Bowling Green, OH -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- On 12/13/13, 1:46 PM, "Kyle Crawford" <kc...@gm...<mailto:kc...@gm...>> wrote: I imagine you could do a launch agent in login window context with it checking for a path that you lay down at logout. Kyle Sent from Mobile On Dec 13, 2013, at 11:35 AM, Jim Kirkum <ji...@bg...<mailto:ji...@bg...>> wrote: FYI - Apple has closed my bug report and stated that the logout process is “working as intended”, so there will be no “fix” coming from them. The provided no alternative solutions for accomplishing a launchd-esque option at logout either. Thanks, Jim -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- James Kirkum, Jr. Server Administrator Information Technology Services Bowling Green State University Bowling Green, OH -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- On 11/20/13, 1:19 PM, "Jim Kirkum" <ji...@bg...<mailto:ji...@bg...>> wrote: Some new information with regard to 10.9: If you leave it sit at the grey curtain for 10-15 minutes, it is display the following dialogue: ³Unapproved caller. SecurityAgent may only be invoked by Apple Software.² Regards, Jim -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- James Kirkum, Jr. Server Administrator Information Technology Services Bowling Green State University Bowling Green, OH -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- On 10/24/13, 3:59 PM, "Jim Kirkum" <ji...@bg...<mailto:ji...@bg...>> wrote: For what it's worth, under Mavericks iHook run in the LogoutHook context "works", but the graphical feedback is not visible. It is covered by a grey screen/"curtain". You can still interact with it, if it fails, by hitting the return key, so you know it is still running. Also, if you just wait, it completes, but the system can sit at the grey screen for awhile, particularly if you are trying to deliver a piece of software at logout. I have not been able to get it to work, and I have not been able to disable or modify this grey curtain screen at logout. Jim ------------------------------------------------------------------------- ----- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clkt rk _______________________________________________ Radmind-users mailing list Rad...@li...<mailto:Rad...@li...> https://lists.sourceforge.net/lists/listinfo/radmind-users |