Re: Getting the User/Owner of another process
Re: Getting the User/Owner of another process
- Subject: Re: Getting the User/Owner of another process
- From: Karl Kuehn <email@hidden>
- Date: Tue, 30 Sep 2003 13:10:14 -0400
As long as the process that returns this name is launched by (or in
the name of) the user, it should be able to communicate the proper
information to your code. I think the big point you are going to have
to adjust to is that you will need two processes, one to load the
preferences into the driver (run as root), and the other to tell that
process where to look (run as the user in question).
You should also watch out that fairly soon MacOS X will be able to
have two different people logging into the GUI at the same time,
running their own processes, so you could get two different user
preference sets trying to load at the same time.
Karl Kuehn
email@hidden
On Sep 30, 2003, at 12:41 PM, John Farmer wrote:
Long story short: I need to get a user name during or after the login
process so that I can get the user name of the currently logged in
user so I
can load the preferences of the logged in user to access the network.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.