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

Re: why does start-stop-daemon not support --chgid ?



Ethan Benson <erbenson@alaska.net> wrote:
> I have been looking at the start-stop-daemon for starting a program 
> as non root, but I found that --chuid only changes the user id, and 
> runs the process as gid 0 root, I think it would be better to be able 
> to start the process not only as a different user but as a different 
> group as well..

> why does start-stop-daemon not support this?

Indeed, it should also call setgroups.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply to: