[ILUG] Do not ever do what I've just done, and can someone help
me undo it?
Paul Jakma
paul at clubi.ie
Fri Feb 15 02:48:27 GMT 2002
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.ie paul 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.
More information about the ILUG
mailing list