[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting Program as non-root



on Mon, Jan 15, 2001 at 05:52:02PM -0900, Ethan Benson (erbenson@alaska.net) wrote:
> On Mon, Jan 15, 2001 at 05:56:52PM -0800, kmself@ix.netcom.com wrote:
> > on Mon, Jan 15, 2001 at 07:55:25PM -0600, Benjamin Pharr (benpharr@freedom2000net.com) wrote:
> > > I need to start up a program (setiathome) as non-root from the startup 
> > > scripts.  I have access to the scripts, I just want it to run as a regular 
> > > user.  Can anyone tell me how?  Thanks in advance!
> > 
> >     $ man su
> 
> no no, man start-stop-daemon
> 
> specifically start-stop-daemon --chuid foo.foo
> 
> advantage: no bogus su log entries.  

Will you stop being so fscking right all the time!

<vbg>

Thanks, Ethan.

And for the rest of the crowd, this is one of the reasons to:

  - Post a response for which you're relatively sure the answer is
    usable, if not optimal.  You might learn something.

  - Why you want to ask questions to the list, not privately.  My answer
    works.  Ethan's is clearly better.

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpJWyjQaXBoB.pgp
Description: PGP signature


Reply to: