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

Re: -loginHook



Hi David,

Experimentally I found that multiple -loginHook's are not feasible.
Only the first one executes. This is true from 10.0.x through 10.2.x.
I wound up with a StartupItem that launches a daemon that executes
my loginHook app when a user logs in.

What Apple really should've done was to either define a way to
chain -loginHook's or to just make loginWindow able to handle multiple
-loginHook parameters. Neither of which do me any good since I have
to support 10.0->10.2.x.

--Steve


On Thu, Jul 10, 2003 at 04:11:04PM -0600, David Blanton wrote:
> For lack of a better known place to ask this question:
>
> For the console command in /etc/ttys can there be multiple -loginHook
> parameters OR can there be multiple entries fro one -loginHook parameter?
>
> i.e. -loginHook /usr/bin/scptA -loginHook /usr/bin/scptB
>
> OR
> -loginHook /usr/bin/scptA /usr/bin/scptB
>
> My KEXT installer needs to make an entry for -loginHook and if there is one
> there already I need to modify it in some manner to add my login
> requirement.
>
> Thanks!
_______________________________________________
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: 
 >-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.