i dont think it is a good idea (security wise) to have a regular user have root privs to something like killall. it might depend on your particular situation, maybe this is not a problem for you.
//eli
On Wed, 7 Jul 2004 07:50:54 +0200
nurgle at gmx.de wrote:
> On Tue, Jul 06, 2004 at 09:29:36AM +0100, Andrew Colvin wrote:
> > Ryan, it would be nice to have an error or warning and possibly switch it off
> > if the device specified does not exist.
>> Yes, that would be nice.
>> As a workaround here is my ut2004 start script for those who don't have
> speechd constantly running:
>> ----- snip -----
> #!/bin/sh
> sudo killall speechd
> sleep 1
> sudo speechd
> sleep 1
> /mnt/dosd/ut2004/ut2004
> sleep 1
> sudo killall speechd
> ----- snap ----
>> Not very elegant I know, but it works. However you need to configure sudo
> correctly before using it. See man sudo and man sudoers.
>> bye...
> Andreas Micklei
>