• 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
Running processes as non-root after an install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running processes as non-root after an install


  • Subject: Running processes as non-root after an install
  • From: Andrew Keller <email@hidden>
  • Date: Fri, 09 Nov 2012 12:55:15 -0500

Hello all,

My installer installs, among other things, a user agent in /Library/LaunchAgents.  I understand that it is extremely difficult to start up the user agent because of the multi-user problem, so I am just going to require a restart.

Nonetheless, I am curious.  Is there an expected way to run commands as the currently logged in user after the install process?  I thought about using `sudo -u $USER ...`, but I can think of more than one modification to the sudoers file that would break it.

Thanks,
Andrew Keller


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Running processes as non-root after an install
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Next by Date: Re: Running processes as non-root after an install
  • Previous by thread: Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Next by thread: Re: Running processes as non-root after an install
  • Index(es):
    • Date
    • Thread