On Fri, 15 Feb 2002, Michael Armbrecht wrote:
> Which I have, thanks. But using sudo is still running things as root....
Option 1:
add a 'cdrom' group.
add local users to the cdrom group.
make the cdburner device have group cdrom and be rw by group.
Option 2:
as per 1, but rather than adding users to the cdrom group,
just make the cdrecord or cdrdao binaries be setgid to cdrom.
Option 3:
edit /etc/security/console.perms and add the cdburner device
to here so that locally logged in users have rw access to
that device.
2 is probably best as it grants the minimum and most specific
priviliges - but cdrecord/cdrdao lose ability to lock buffers in
ram¹. (and possibly -scanbus wont work).
sudo? ick... for when you just really absolutely cant be bothered to
make use of the normal unix privilige mechanisms.
> Mick
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
I cannot conceive that anybody will require multiplications at the rate
of 40,000 or even 4,000 per hour ...
-- F. H. Wales (1936)
1. but hey.. is there a great need to lock buffers that are actively
read from and written to into ram for cd burning? if the system is
that loaded there'll probably be problems even if the buffers are
pinned in ram.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!