LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Do not ever do what I've just done, and can someone help me undo it?

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell