Re: problems running k3b in fluxbox with sudo

2005-02-03 Thread FreeBsdBeni
 - Original Message -
 From: Brian John [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, February 01, 2005 3:30 PM
 Subject: problems running k3b in fluxbox with sudo

  When I try to run k3b in fluxbox with sudo, I get this error message:
  'Unable to find growisofs executable'.  Any clue what would cause this? 
  I can't burn DVDs until I get it resolved...
 
From the Notes-section in man growisofs :

NOTES
   If executed under sudo(8) growisofs refuses to start. This is done  for
   the following reason. Naturally growisofs has to access the data set to
   be recorded to DVD media, either indirectly by letting mkisofs generate
   ISO9660  layout on-the-fly or directly if a pre-mastered image is to be
   recorded. Being executed under sudo(8),  growisofs  effectively  grants
   sudoers  read  access  to any file in the file system. The situation is
   intensified by the fact that growisofs parses MKISOFS environment vari-
   able  in  order  to  determine  alternative  path to mkisofs executable
   image. This means that being executed under sudo(8),  growisofs  effec-
   tively  grants  sudoers  right  to execute program of their choice with
   elevated privileges. If you for any reason still find the above accept-
   able  and  are  willing to take the consequences, then consider running
   following wrapper script under sudo(8)  in  place  for  real  growisofs
   binary.

#!/bin/ksh
unset SUDO_COMMAND
export MKISOFS=/path/to/trusted/mkisofs
exec growisofs $@

   But  note that the recommended alternative to the above workaround is
   actually to install growisofs set-root-uid, in which case it will  drop
   privileges  prior  accessing data or executing mkisofs in order to pre-
   clude unauthorized access to the data.


I have to start k3b with kdesu k3b, not just sudo. Then it finds growisofs 
and it all works.
 
Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems running k3b in fluxbox with sudo

2005-02-02 Thread Rod Person
On Wednesday 02 February 2005 2:35 am, Brian John wrote:

 Sorry, I should have been more clear.  I have 'dvd+rw-tools' installed,
 and it works in kde.  I just can't get it to work in fluxbox because of
 this one problem.  The difference is I am starting it through the kde
 menu in kde and I'm starting it using 'sudo' in fluxbox.  Does that help?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


When you start k3b in fluxbox, do you get the error that keb could not connect 
to klauncher? I have all type of problems trying to run k3b in fluxbox that 
did not happen when running KDE. I think k3b just need to be run in full 
blown KDE.

-- 
Rod


If you stay the same long enough you'll be in 
 style some day again.  Cren Dog 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems running k3b in fluxbox with sudo

2005-02-01 Thread Brian John
When I try to run k3b in fluxbox with sudo, I get this error message: 
'Unable to find growisofs executable'.  Any clue what would cause this?  
I can't burn DVDs until I get it resolved...

Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems running k3b in fluxbox with sudo

2005-02-01 Thread Thomas Foster
/usr/ports/sysutils/dvd+rw-tools
Hope this helps..
T
- Original Message - 
From: Brian John [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, February 01, 2005 3:30 PM
Subject: problems running k3b in fluxbox with sudo


When I try to run k3b in fluxbox with sudo, I get this error message: 
'Unable to find growisofs executable'.  Any clue what would cause this?  I 
can't burn DVDs until I get it resolved...

Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems running k3b in fluxbox with sudo

2005-02-01 Thread Brian John
Thomas Foster wrote:
/usr/ports/sysutils/dvd+rw-tools
Hope this helps..
T
- Original Message - From: Brian John [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, February 01, 2005 3:30 PM
Subject: problems running k3b in fluxbox with sudo

When I try to run k3b in fluxbox with sudo, I get this error message: 
'Unable to find growisofs executable'.  Any clue what would cause 
this?  I can't burn DVDs until I get it resolved...

Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Sorry, I should have been more clear.  I have 'dvd+rw-tools' installed, 
and it works in kde.  I just can't get it to work in fluxbox because of 
this one problem.  The difference is I am starting it through the kde 
menu in kde and I'm starting it using 'sudo' in fluxbox.  Does that help?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]