Re: Cocoa daemon app
Re: Cocoa daemon app
- Subject: Re: Cocoa daemon app
- From: The Karl Adam <email@hidden>
- Date: Wed, 24 Nov 2004 02:37:46 -0500
Growl doesn't do that he wants, Growl does this on a per user basis
and runs entirely in user space.
On Wed, 24 Nov 2004 01:57:24 -0500, The Karl Adam <email@hidden> wrote:
> Login Items, Mach_user_init, Login Hooks. Take your pick, googling on
> them should handily find more useful results.
>
>
>
>
> On Tue, 23 Nov 2004 23:15:00 -0700, Matt Jaffa <email@hidden> wrote:
> > Hi,
> >
> > Ok maybe this will be a better solution:
> >
> > I will have a root daemon that listens on a sys_socket, and when it
> > receives data it will pass the data to
> > the current logged in users cocoa app, so I will have a cocoa app
> > running for each logged in user
> > and so how will I know to start up a cocoa app for each user when they
> > login?
> > I understand when they log out this app will automatically be destroyed
> > which is perfect. And if they
> > fast user switch the app will still be running for when the fast user
> > switch back again.
> >
> > But now I need to know how to start a cocoa app for each user that logs
> > in.
> >
> > Thanks,
> > Matt
> >
> >
> >
> >
> > On Nov 23, 2004, at 10:50 PM, The Karl Adam wrote:
> >
> > > More important than the problem, is the fact that you have a Cocoa
> > > application running as root. Cocoa is an inherently insecure language
> > > because of its dynamic nature and runtime. You should rethink what you
> > > want this iapp to do and hand off any priviliedged actions to a well
> > > written C app distributed within your bundled Cocoa app.
> > >
> > > -Karl
> > >
> > > On Tue, 23 Nov 2004 19:30:54 -0700, Matt Jaffa <email@hidden>
> > > wrote:
> > >> Hi,
> > >>
> > >> I have a StartUp daemon item written in Cocoa obj-C that runs as root
> > >> in the back ground.
> > >> And I startup as one user and the windows display fine and pop up when
> > >> wanted. But
> > >> when I use fast user switching and login as another user on my
> > >> computer,
> > >> those desired popup windows will display in the first users session,
> > >> and not display for who I am currently logged in.
> > >>
> > >> Does this have something to do with the owner of the Bundle, and is
> > >> there a way to change this to make it so that when i switch users
> > >> these windows will start displaying in the currently logged in console
> > >> user?
> > >>
> > >> Thanks,
> > >> Matt
> > >>
> > >> _______________________________________________
> > >> Do not post admin requests to the list. They will be ignored.
> > >> Cocoa-dev mailing list (email@hidden)
> > >> Help/Unsubscribe/Update your Subscription:
> > >>
> > >> This email sent to email@hidden
> > >>
> > >
> >
> >
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden