Re: switching user using apple script
Re: switching user using apple script
- Subject: Re: switching user using apple script
- From: Philip Aker <email@hidden>
- Date: Mon, 26 Nov 2007 21:03:14 -0800
On 2007-11-26, at 08:59, chinni wrote:
I need to run my app which will install and upgrade if needed.this
is on both admin and non-admin user.another question if i write a
script in admin user which is related to non-admin user does it
run.i mean if i run the script in admin user which includes the
switch user script to another user and run my furthur script to
complete my tasks.i will give more if needed.
J. Stewart has given you a good answer. What you want to do is just
not done because it's an infringement on the user's account and a
potential security risk. Even Apple "asks" if you want to install a
new version. For the admin, he or she can install the application
update and it will be available to all users on the machine. If an
individual user has installed the app into a customized location,
then they should update it themselves.
A fairly common way to signal users for updates is to have a check
box in your app's preferences with a title like: "Check for Updates".
Here's an example from TextWrangler:
Quite a few developers use the "Sparkle" framework for auto-updating
their app.
Another common option is to send an email to all registered users.
On Nov 26, 2007 9:36 PM, Axel Luttgens <email@hidden> wrote:
On 26/11/07 5:17, chinni wrote:
> Any one help me from this...waiting for u r replies...
>
> On Nov 22, 2007 12:33 AM, chinni <email@hidden > wrote:
>
>> Hi ,
>> I am new apple script.I would like to run apple script for fast
user
>> switch to another user and wait for 15min and again login back
to current
>> user.
>> [...]
>
J. Stewart already provided you with a very detailed reply.
But perhaps could you describe what you ultimately want to achieve? I
ask, because FAS, with all the security problems it involves, may just
prove unneeded.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden