Re: SystemStarteup Items
- Subject: Re: SystemStarteup Items
- From: Nigel Kersten <email@hidden>
- Date: Tue, 29 Nov 2005 10:42:22 +1100
- Delivered-to: email@hidden
- Delivered-to: email@hidden
On 29/11/2005, at 10:19 AM, Jose Luis Paredes wrote:
I have a script that I need to run as a certain user at boot time.
The script does work using
%sudo -u user myscript
However if I run the script at boot time -my creating an entry in
the /Library/Startup items I get a permissions error in my system log.
I had a similar problem that I got around by using 'su <username> -c
<command>' instead of sudo.
--
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.