Re: cdrecord wihout SUID
José Alburquerque <jaalburquerque@cox.net>:
> Matej Cepl wrote:
>
> >José Alburquerque wrote:
> >
> >>Does anyone know a way for regular users to use cdrecord for CD
> >>writing/blanking without the need for it to setuid? Any pointers would
> >>be greatly appreciated. Thanks!
> >
> >I think you need to have at [least] this:
> >
> >chelcicky:~$ ll `which cdrecord`
> >-rwsr-xr-- 1 root cdrom 133 2006-01-07 13:43 /usr/bin/cdrecord
>
> Thanks for your reply :-) I believe that my cdrecord has the same
> permissions and everything works fine like this:
>
> jose@sweety:~$ ll `which cdrecord`
> -rwsr-xr-- 1 root cdrom 133 2006-01-07 13:43 /usr/bin/cdrecord*
>
> My problem is that I'd like cdrecord not to have the SUID set (the 's'
> in '-rwsr-xr--' above). I'm not sure this is possible, but if it is and
Very odd, on both of you.
(0) heretic /home/keeling_ all `which cdrecord`
-rwxr-xr-x 1 root root 133 2005-01-09 09:55 /usr/bin/cdrecord*
No SUID needed.
(0) heretic /home/keeling_ id
uid=1000(keeling) gid=1000(keeling)
groups=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),50(staff),1000(keeling)
I'm running Sarge/stable, Kernel 2.6.8-3-686. I've no problem burning
CDs as user keeling:
(0) heretic /home/keeling_ cdrecord dev=/dev/hdd -eject -tao \
-data xubuntu-6.06-desktop-i386.iso
Works fine (cdrecord, I mean; not xubuntu :-P ).
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html
Spammers! http://www.spots.ab.ca/~keeling/emails.html
Reply to: