Jump to content

Open an App at Logon for Any User


Recommended Posts

Posted

Hi

 

Is it possible to have an app open at logon for any user possibly with admin (root) rights? There are several users on each Mac so I am hoping that I can log in as the admin user and set this up for every user without getting each user to logon. Any advice would be appreciated.

 

Thanks

Posted

set adminuser to "admin username"
set adminpass to "admin password"
do shell script "whatever your task is" user name adminuser password adminpass with administrator privileges

 

I used the above AppleScript when I needed user accounts to launch an app/task as an administrator. Export as a run-only app though!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...