[email protected] (Christian Weisgerber) wrote: > Mats-Gxran Karlsen <[email protected]> wrote: > > > I'm trying to create a startup script that executes the transmission-daemon > > as > > a regular user. > > > /usr/bin/sudo -u $USERNAME -p $PASSWD $DAEMON -g $CONFIGDIR > > You are going about this the wrong way. sudo(8) is primarily > designed to give additional priviledges to an unpriviledged user. > You want to use su(1): > > su $USERNAME -c $DAEMON -g $CONFIGDIR > > -- > Christian "naddy" Weisgerber [email protected]
I truly believed that one of the most useful uses was to drop privilegies... maybe some reading will help you? sudo(8), sudoers(5). Saludos. -- DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ This message will self-destruct in 3 seconds.

