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

Re: New user for new package



On Wed, Dec 06, 2000 at 10:29:26AM +0000, Jonathan McDowell wrote:
> On Wed, Dec 06, 2000 at 10:40:44AM +0100, Andres Seco Hernandez wrote:
>  
> > How must i run it then? I supose that the init.d script to start/stop the
> > daemon is run as root, so, the daemon itselft too. Then, must i change
> > user efective id inside the code?
> > 
> > I think is easiest to made it setuid with the new user.
> 
> Eh. Ick.
> 
> su <user> -c "command"
> 
> perhaps?

ugh, that clutters the logs, start-stop-daemon --chuid is a better
option for starting daemons nonprivileged IMO.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpj9RE5t7r2G.pgp
Description: PGP signature


Reply to: