On 10. apr. 2010, at 17.16, Christian Weisgerber wrote:
> Mats-Gxran Karlsen 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. s
On Sat, 10 Apr 2010 22:27:06 -0500, Abel Abraham Camarillo Ojeda wrote:
>> 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
na...@mips.inka.de (Christian Weisgerber) wrote:
> Mats-Gxran Karlsen 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.
On Sat, Apr 10, 2010 at 12:38:25PM +0200, Mats-G?ran Karlsen wrote:
> Hello.
>
> I'm running a headless OpenBSD server.
>
> I'm trying to create a startup script that executes the transmission-daemon as
> a regular user.
>
> Details:
>
> located in /etc/transmission/rc.transmission
>
> permiss
Mats-Gxran Karlsen 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
On Sat, Apr 10, 2010 at 12:38:25PM +0200, Mats-Gxran Karlsen wrote:
> -rw-r- 1 root wheel 390 Jul 13 18:30 rc.transmission
it's not executable
> The following is appended to /etc/rc.conf
use rc.conf.local
Hello.
I'm running a headless OpenBSD server.
I'm trying to create a startup script that executes the transmission-daemon as
a regular user.
Details:
located in /etc/transmission/rc.transmission
permissions
-rw-r- 1 root wheel 390 Jul 13 18:30 rc.transmission
Script follows:
---
7 matches
Mail list logo