• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: switching user using apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: switching user using apple script


  • Subject: Re: switching user using apple script
  • From: "J. Stewart" <email@hidden>
  • Date: Mon, 26 Nov 2007 17:05:00 -0500

On 11/26/07 at 11:59 AM, chinni <email@hidden> spake thusly:

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.


If an installer script is written correctly, installs the various components to the correct places and sets the permissions of those components as required there should be no need to switch accounts. In fact I've never seen an installer that switched accounts as part of an install. However, there are cases when an installer will require authentication to install components into sensitive locations i.e. installing something into /Library (not ~/Library) usually does.

JBS
--
Any government big enough to do things for you is big enough to do things to you.
_______________________________________________
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
References: 
 >Re: switching user using apple script (From: chinni <email@hidden>)

  • Prev by Date: Determining
  • Next by Date: Re: Script Editor rewrites/code conflict
  • Previous by thread: Re: switching user using apple script
  • Next by thread: Re: switching user using apple script
  • Index(es):
    • Date
    • Thread