Re: k3b and cdrecord problem
On Wednesday 05 October 2005 21:56, Fabio Serpa wrote:
> It's truth.
>
>
> Suid doesn't work anymore.
>
> How the best path to fix this?
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
Reply to: