Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemStarteup Items




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
References: 
 >SystemStarteup Items (From: Jose Luis Paredes <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.