Re: k3b and cdrecord problem
Hello,
[color=blue]
> I also cannot burn cd-images with cdrecord itself. The error message is the
> same. But I can burn cds as root. I used to have installed cdrecord as suid
> root and then it worked also for normal users, but it seems this does not
> work anymore with kernels >=2.6.8. What do I have to do to burn cds as
> normal user with k3b/cdrecord?[/color]
I installed cdrecord without suid root because k3b complained about it and
told me that it wont work with kernels newer then 2.6.8. I just tried to set
cdrecord suid root again and it started working again... o.k., problem
solved.
Greetings,
Michael
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Re: k3b and cdrecord problem
Michael Thaler wrote:
[color=blue][color=green]
>> I also cannot burn cd-images with cdrecord itself. The error message is
>> the same. But I can burn cds as root. I used to have installed cdrecord
>> as suid root and then it worked also for normal users, but it seems this
>> does not work anymore with kernels >=2.6.8. What do I have to do to burn
>> cds as normal user with k3b/cdrecord?[/color]
>
> I installed cdrecord without suid root because k3b complained about it and
> told me that it wont work with kernels newer then 2.6.8. I just tried to
> set cdrecord suid root again and it started working again... o.k., problem
> solved.[/color]
Somebody posted a couple of days ago that this is changed _back_ to the old
behavior on recent kernels. All the bouncing is making me dizzy :-(
--
derek
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Re: k3b and cdrecord problem
It's truth.
Suid doesn't work anymore.
How the best path to fix this?
On Wednesday 05 October 2005 15:00, Derek Broughton wrote:[color=blue]
> Michael Thaler wrote:[color=green][color=darkred]
> >> I also cannot burn cd-images with cdrecord itself. The error message is
> >> the same. But I can burn cds as root. I used to have installed cdrecord
> >> as suid root and then it worked also for normal users, but it seems this
> >> does not work anymore with kernels >=2.6.8. What do I have to do to burn
> >> cds as normal user with k3b/cdrecord?[/color]
> >
> > I installed cdrecord without suid root because k3b complained about it
> > and told me that it wont work with kernels newer then 2.6.8. I just tried
> > to set cdrecord suid root again and it started working again... o.k.,
> > problem solved.[/color]
>
> Somebody posted a couple of days ago that this is changed _back_ to the old
> behavior on recent kernels. All the bouncing is making me dizzy :-(
> --
> derek[/color]
--
Fabio Serpa
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Re: k3b and cdrecord problem
On Wednesday 05 October 2005 21:56, Fabio Serpa wrote:[color=blue]
> It's truth.
>
>
> Suid doesn't work anymore.
>
> How the best path to fix this?[/color]
k3b tells you that it doesn't work anymore and that you should use k3bconfig
to remove the suid bit. But that is actually not true. For me it did not work
without the suid bit set, but it works with suid bit set (just do
dpkg-reconfigure cdrecord and chose yes). I am using kernel 2.6.12 from
Debian. With kernels 2.6.8 and 2.6.9 it seems you really have to be root to
burn cds. You could do the following: install sudo and use visudo to
edit /etc/sudoers and add:
username ALL=NOPASSWD:/usr/bin/cdrecord,/usr/bin/cdrdao
then add in .bashrc
alias cdrecord='sudo cdrecord'
alias cdrdao='sudo cdrdao'
Now all users can burn cds. What actually happens is, that cdrecord and cdrdao
will allways be run as root.
Greetings,
Michael
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Re: k3b and cdrecord problem
Ok, Thanks!
On Wednesday 05 October 2005 17:05, Michael Thaler wrote:[color=blue]
> On Wednesday 05 October 2005 21:56, Fabio Serpa wrote:[color=green]
> > It's truth.
> >
> >
> > Suid doesn't work anymore.
> >
> > How the best path to fix this?[/color]
>
> k3b tells you that it doesn't work anymore and that you should use
> k3bconfig to remove the suid bit. But that is actually not true. For me it
> did not work without the suid bit set, but it works with suid bit set (just
> do
> dpkg-reconfigure cdrecord and chose yes). I am using kernel 2.6.12 from
> Debian. With kernels 2.6.8 and 2.6.9 it seems you really have to be root to
> burn cds. You could do the following: install sudo and use visudo to
> edit /etc/sudoers and add:
>
> username ALL=NOPASSWD:/usr/bin/cdrecord,/usr/bin/cdrdao
>
> then add in .bashrc
>
> alias cdrecord='sudo cdrecord'
> alias cdrdao='sudo cdrdao'
>
> Now all users can burn cds. What actually happens is, that cdrecord and
> cdrdao will allways be run as root.
>
> Greetings,
> Michael[/color]
--
Fabio Serpa
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Re: k3b and cdrecord problem
Michael Thaler wrote:
[color=blue]
> On Wednesday 05 October 2005 21:56, Fabio Serpa wrote:[color=green]
>> It's truth.
>>
>> Suid doesn't work anymore.
>>
>> How the best path to fix this?[/color]
>
> k3b tells you that it doesn't work anymore and that you should use
> k3bconfig to remove the suid bit. But that is actually not true.[/color]
Yeah, it is... I'm not sure why it's working for you, but after 2.6.8 I
_had_ to remove the suid bit.
The simple answer to Fabio would be either (a) do nothing - it might still
work (he's already _got_ suid set) or (b) "dpkg-reconfigure cdrecord" to
turn _off_ suid.
--
derek
--
To UNSUBSCRIBE, email to [email]debian-kde-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]