Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: More -LoginHook
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More -LoginHook



If the target of the -LoginHook parameter is a plain Mach-O binary
that acts like a daemon, the mechanism works.

If you execute the binary instead of the .app folder:
-LoginHook /Applications/Chess.app/Contents/MacOS/Chess
the LoginHook does indeed cause Chess to execute.

--Steve


On Fri, Jul 11, 2003 at 01:48:06PM -0600, David Blanton wrote:
> I have added the path to an executable and the path to a script using the
> -LoginHook parameter to loginwindow and neither getsexecuted. Can anyone
> comment on my error please:
>
> console
> "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
> -LoginHook /applications/chess.app" vt100 on secure
> window=/System/Library/CoreServices/WindowServer
> onoption="/usr/libexec/getty std.9600"
>
> The above does not cause chess.app to launch
>
> console
> "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
> -LoginHook /usr/mruip" vt100 on secure
> window=/System/Library/CoreServices/WindowServer
> onoption="/usr/libexec/getty std.9600"
>
> The above does not cause /usr/mruip to execute where /usr/mruip is open -a
> chess
>
> Help!
>
> David Blanton
> _______________________________________________
> darwin-kernel mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: -loginHook (From: Steven Bytnar <email@hidden>)
 >More -LoginHook (From: David Blanton <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.