Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 10:20:42 -1000
From:      "Wai Chan" <waichan@hpu.edu>
To:        "Ben Weaver" <sid67@tranquility.net>, <gerti-freebsdq@bitart.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Starting process as different user via rc
Message-ID:  <LNEJKGADPHKMLOFLNLFLOEHLEAAA.waichan@hpu.edu>
In-Reply-To: <20010111033251.A4075@tranquility.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You could use:
	su - username -c "/path/command"

good luck!

Wai

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ben Weaver
Sent: Wednesday, January 10, 2001 11:33 PM
To: gerti-freebsdq@bitart.com
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: Starting process as different user via rc


You could make a wrapper for it...

-Ben

On Thu, Jan 11, 2001 at 02:26:39AM -0600, Gerd Knops wrote:
> Hi,
> 
> Is there a way (eg a small utility or some such) that would allow a  
> process/script to be started from rc using a different UID than root?
> SUID would be a poor solution in the case I have in mind.
> 
> Gerd
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LNEJKGADPHKMLOFLNLFLOEHLEAAA.waichan>