[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cd-burning problems



On Sat, 7 Apr 2001, Andreas Goesele wrote:

> Hi,
>
> I tried to set up everything for burning cds under Linux. The basic
> setup is working for root, but there remain a number of problems.
>
> 1.) Is it actually possible to burn cds as normal user (neither root
> and nor suid-root)?  I did create a group cdburn, changed group
> ownership and the permissions of /dev/scd* and /dev/sg* to brw-rw----
> and crw-rw---- respectively and included myself into the group
> cdburn. "cdrecord -scanbus" then shows that cdrecord run as user can
> access the devices.

sudo is your friend!

use visudo to edit the sudoers file; I did the following:


---------------------------
# Cmnd alias specification
Cmnd_Alias      CDRECORD=/usr/bin/cdrecord
Cmnd_Alias      GCOMBUST=/usr/bin/gcombust
Cmnd_Alias      XCDROAST=/usr/bin/xcdroast
Cmnd_Alias      MKISOFS=/usr/bin/mkisofs

ALL     ALL = CDRECORD, GCOMBUST, XCDROAST, MKISOFS
---------------------------


then any user can use sudo to burn cd's

if you want to restrict to some users, then replace the first ALL for
the user names.


[]s,
Mario O.de Menezes            "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario                 Prov. 19.21




Reply to: