Re: [lug-nuts] running a script as another user

From: Brian Lavender (brian@brie.com)
Date: Mon Jan 17 2000 - 11:31:16 PST


Try this

chmod u+s ./scriptname

and have it owned by whichever owner you want it to run as. Anyone
corrections to this?

brian

On Mon, Jan 17, 2000 at 11:22:17AM -0800, Scott Tyson wrote:
> I would like to put some scripts in my rc.local file but I do not want
> them to execute as root. Is there a way to specify what user the script
> executes as? The scripts are shell/perl.

-- 
Brian Lavender
http://www.brie.com/brian/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:23 PST