bash script kdesu root privilege problem

Todd and Margo Chester <[email protected]> Sun, 17 Feb 2008 14:19:57 -0800
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Hi All,

I am using k3b-0.12.17-1.el5 on CentOS 5.1 (RHEL 5.1 clone).

I can run k3b as any user and as root perfectly.

But, when I run K3B from a bash script as
a user and try to elevate k3b to get root privileges,

     #! /bin/bash
      kdesu -n -u root -c "k3b --nofork"

I get all kinds of the following errors:

         Unable to find growisofs executable
         K3b uses growisofs to actually write dvds.
         Without growisofs you won't be able to write
         dvds. Make sure to install at least version
         5.10.  Solution: Install the dvd+rw-tools package.

What am I doing wrong?

Many thanks,
-T
p.s. sudo does not work either



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/